From: Harald Hoyer Date: Wed, 16 May 2012 09:51:26 +0000 (+0200) Subject: TEST-01-BASIC: sync after creating the root disk X-Git-Tag: 019~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cfe32ef5ba0be76fecd024b702997d1f46d45e2d;p=thirdparty%2Fdracut.git TEST-01-BASIC: sync after creating the root disk --- diff --git a/test/TEST-01-BASIC/create-root.sh b/test/TEST-01-BASIC/create-root.sh index 0e91ab546..046bfb9cd 100755 --- a/test/TEST-01-BASIC/create-root.sh +++ b/test/TEST-01-BASIC/create-root.sh @@ -19,5 +19,6 @@ cp -a -t /root /source/* mkdir -p /root/run umount /root echo "dracut-root-block-created" >/dev/sda1 +sync poweroff -f diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh index 36d269396..46e75c7aa 100755 --- a/test/TEST-01-BASIC/test.sh +++ b/test/TEST-01-BASIC/test.sh @@ -48,7 +48,7 @@ test_setup() { ( initdir=$TESTDIR/overlay . $basedir/dracut-functions.sh - dracut_install sfdisk mkfs.ext3 poweroff cp umount + dracut_install sfdisk mkfs.ext3 poweroff cp umount sync inst_hook initqueue 01 ./create-root.sh inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules )