2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00
Files
criu/test/others/ext-links/run_wait.sh
Andrew Vagin 88aaae3ace tests: move non-zdtm tests to tests/others/
Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-02-24 13:09:17 +03:00

16 lines
290 B
Bash
Executable File

#!/bin/bash
echo "Wait: $$"
while [ ! -e "$finf" ]; do
echo "WAIT ($$)"
sleep 1;
done
echo "Links after:"
$ip link list
# The mvln device (exported from run.sh) should exits in
# namespace after we get restored
echo "Check for $mvln:"
$ip link list $mvln && echo "PASS" || echo "FAIL"