Skip to contentSkip to conversation

master - tests: quick update of location of pid file

PATCH Zdenek Kabelac 1 participant 1 message Mar 14, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=900cb6717b9d06e2b40049e4da2b25e8b98375a7
Commit:        900cb6717b9d06e2b40049e4da2b25e8b98375a7
Parent:        551b6b799867860fc6a437be5298bc74b814ab19
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Mar 14 10:40:48 2014 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Mar 14 10:40:48 2014 +0100

tests: quick update of location of pid file

Until better fix is put in - replace with /run.

---
 test/lib/aux.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/aux.sh +1 -1
index c3adb56..7d13e8d 100644
@@ -68,7 +68,7 @@ prepare_dmeventd() {
 	echo $! > LOCAL_DMEVENTD
 
 	# FIXME wait for pipe in /var/run instead
-	while ! test -e "/var/run/dmeventd.pid"; do echo -n .; sleep .2; done # wait for the socket
+	while ! test -e "/run/dmeventd.pid"; do echo -n .; sleep .2; done # wait for the socket
 	echo ok
 }