[PATCH xorg-gtest] xserver: check for old log file, not old config file

Peter Hutterer peter.hutterer at who-t.net
Tue Jul 24 17:05:33 PDT 2012


Introduced in cf9c6a9f588390869f278e5620ec40bfa2859d6a

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/xserver.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xserver.cpp b/src/xserver.cpp
index 101c859..b420dd1 100644
--- a/src/xserver.cpp
+++ b/src/xserver.cpp
@@ -272,7 +272,7 @@ void xorg::testing::XServer::TestStartup(void) {
     throw std::runtime_error(message);
   }
 
-  std::string old_log_file = d_->options["-config"];
+  std::string old_log_file = d_->options["-logfile"];
   old_log_file += ".old";
   log_test.open(old_log_file.c_str(), std::ofstream::out);
   log_test.close();
-- 
1.7.10.4



More information about the xorg-devel mailing list