Commit bfe7f6dc authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

zdtm: remove bashisms from hooks

Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 23b76949
...@@ -2,13 +2,14 @@ ...@@ -2,13 +2,14 @@
umask 0000 umask 0000
[ "$1" == "--pre-restore" ] && { [ "$1" = "--pre-restore" ] && {
exit
# emulate rsync # emulate rsync
rm -rf etc/zdtm-test rm -rf etc/zdtm-test
touch etc/zdtm-test touch etc/zdtm-test
} }
[ "$1" == "--post-pre-dump" ] && { [ "$1" = "--post-pre-dump" ] && {
echo 'invalidate the irmap cache' echo 'invalidate the irmap cache'
mv etc/zdtm-test etc/zdtm-test2 mv etc/zdtm-test etc/zdtm-test2
mv etc/zdtm-test1 etc/zdtm-test mv etc/zdtm-test1 etc/zdtm-test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment