when running the unit test without root, you don't have write access to /var/run
authorGerd von Egidy <gerd.von.egidy@intra2net.com>
Sun, 10 May 2015 14:30:48 +0000 (16:30 +0200)
committerGerd von Egidy <gerd.von.egidy@intra2net.com>
Sun, 10 May 2015 14:30:48 +0000 (16:30 +0200)
test/test_pidfile.cpp

index 50d6843..35601c4 100644 (file)
@@ -47,7 +47,7 @@ public:
     TestPidFileFixture()
     {
         ostringstream out;
-        out << "/var/run/test_pidfile.run." << getpid();
+        out << "test_pidfile.run." << getpid();
 
         Filename = out.str();
     }