mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-24 02:35:41 +00:00
It's required to execute the test in Jenkins. Signed-off-by: Andrew Vagin <avagin@openvz.org> Acked-by: Ruslan Kuprieiev <rkuprieiev@cloudlinux.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
13 lines
144 B
Bash
Executable file
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
|