|
Harald Hoyer |
35271e |
From cfe32ef5ba0be76fecd024b702997d1f46d45e2d Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
35271e |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
35271e |
Date: Wed, 16 May 2012 11:51:26 +0200
|
|
Harald Hoyer |
35271e |
Subject: [PATCH] TEST-01-BASIC: sync after creating the root disk
|
|
Harald Hoyer |
35271e |
|
|
Harald Hoyer |
35271e |
---
|
|
Harald Hoyer |
35271e |
test/TEST-01-BASIC/create-root.sh | 1 +
|
|
Harald Hoyer |
35271e |
test/TEST-01-BASIC/test.sh | 2 +-
|
|
Harald Hoyer |
35271e |
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
Harald Hoyer |
35271e |
|
|
Harald Hoyer |
35271e |
diff --git a/test/TEST-01-BASIC/create-root.sh b/test/TEST-01-BASIC/create-root.sh
|
|
Harald Hoyer |
35271e |
index 0e91ab5..046bfb9 100755
|
|
Harald Hoyer |
35271e |
--- a/test/TEST-01-BASIC/create-root.sh
|
|
Harald Hoyer |
35271e |
+++ b/test/TEST-01-BASIC/create-root.sh
|
|
Harald Hoyer |
35271e |
@@ -19,5 +19,6 @@ cp -a -t /root /source/*
|
|
Harald Hoyer |
35271e |
mkdir -p /root/run
|
|
Harald Hoyer |
35271e |
umount /root
|
|
Harald Hoyer |
35271e |
echo "dracut-root-block-created" >/dev/sda1
|
|
Harald Hoyer |
35271e |
+sync
|
|
Harald Hoyer |
35271e |
poweroff -f
|
|
Harald Hoyer |
35271e |
|
|
Harald Hoyer |
35271e |
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
|
|
Harald Hoyer |
35271e |
index 36d2693..46e75c7 100755
|
|
Harald Hoyer |
35271e |
--- a/test/TEST-01-BASIC/test.sh
|
|
Harald Hoyer |
35271e |
+++ b/test/TEST-01-BASIC/test.sh
|
|
Harald Hoyer |
35271e |
@@ -48,7 +48,7 @@ test_setup() {
|
|
Harald Hoyer |
35271e |
(
|
|
Harald Hoyer |
35271e |
initdir=$TESTDIR/overlay
|
|
Harald Hoyer |
35271e |
. $basedir/dracut-functions.sh
|
|
Harald Hoyer |
35271e |
- dracut_install sfdisk mkfs.ext3 poweroff cp umount
|
|
Harald Hoyer |
35271e |
+ dracut_install sfdisk mkfs.ext3 poweroff cp umount sync
|
|
Harald Hoyer |
35271e |
inst_hook initqueue 01 ./create-root.sh
|
|
Harald Hoyer |
35271e |
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
|
Harald Hoyer |
35271e |
)
|