mirror of
https://github.com/troglobit/finit.git
synced 2026-10-17 10:49:34 +00:00
test: slay must cache oldpid to an instance specific ramdisk
Running tests in massive parallel causes failing startk-kill-service.sh. This in turn was caused by the shared test tool 'slay' that cached its "oldpid" file to a shared area of the rootfs (tenv-root). It must use a test instance-specific ramdisk. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
be4062f019
commit
a7e81f45c6
1 file changed
+1
-1
+1
-1
@@ -48,7 +48,7 @@ while [ "$pid" -le 1 ]; do
|
||||
break
|
||||
done
|
||||
|
||||
echo "$pid" > oldpid
|
||||
echo "$pid" > /tmp/oldpid
|
||||
|
||||
#echo "PID $pid, kill -9 ..."
|
||||
kill -9 "$pid"
|
||||
Reference in new issue
Block a user