diff options
author | Harald Hoyer <harald@redhat.com> | 2012-05-16 11:51:26 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2012-05-16 11:51:26 +0200 |
commit | cfe32ef5ba0be76fecd024b702997d1f46d45e2d (patch) | |
tree | a5f0a31f8c001d22cb9d245aa32d957a7a571519 /test/TEST-01-BASIC | |
parent | 8be5a0fa945d130ef8ebb464ebbe1a865949353d (diff) | |
download | dracut-cfe32ef5ba0be76fecd024b702997d1f46d45e2d.tar.gz dracut-cfe32ef5ba0be76fecd024b702997d1f46d45e2d.tar.bz2 dracut-cfe32ef5ba0be76fecd024b702997d1f46d45e2d.zip |
TEST-01-BASIC: sync after creating the root disk
Diffstat (limited to 'test/TEST-01-BASIC')
-rwxr-xr-x | test/TEST-01-BASIC/create-root.sh | 1 | ||||
-rwxr-xr-x | test/TEST-01-BASIC/test.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/TEST-01-BASIC/create-root.sh b/test/TEST-01-BASIC/create-root.sh index 0e91ab54..046bfb9c 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 36d26939..46e75c7a 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 ) |