criu/test/others/security/loop.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

13 lines
144 B
Bash
Executable file

#!/bin/bash
echo $$ > $1.int
mv $1.int $1
if [ "$2" == "--chgrp" ]; then
grps=( $(groups) )
newgrp ${grps[2]}
fi
while :; do
sleep 1
done