summaryrefslogtreecommitdiff
path: root/test/TEST-15-BTRFSRAID
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-03-02 13:20:59 +0100
committerHarald Hoyer <harald@redhat.com>2013-03-02 13:20:59 +0100
commit356333b3314aa4f9813b9c84e14544869944cb2a (patch)
tree554b4d2199e5ec2d01f3903aae617439375d4973 /test/TEST-15-BTRFSRAID
parentf62f3a219112b6deb042b160b9009ab4dde79259 (diff)
downloaddracut-356333b3314aa4f9813b9c84e14544869944cb2a.tar.gz
dracut-356333b3314aa4f9813b9c84e14544869944cb2a.tar.bz2
dracut-356333b3314aa4f9813b9c84e14544869944cb2a.zip
test: add finished-false.sh for create-root.sh initqueue job
Diffstat (limited to 'test/TEST-15-BTRFSRAID')
-rwxr-xr-xtest/TEST-15-BTRFSRAID/finished-false.sh2
-rwxr-xr-xtest/TEST-15-BTRFSRAID/test.sh1
2 files changed, 3 insertions, 0 deletions
diff --git a/test/TEST-15-BTRFSRAID/finished-false.sh b/test/TEST-15-BTRFSRAID/finished-false.sh
new file mode 100755
index 00000000..ecdbef95
--- /dev/null
+++ b/test/TEST-15-BTRFSRAID/finished-false.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+exit 1
diff --git a/test/TEST-15-BTRFSRAID/test.sh b/test/TEST-15-BTRFSRAID/test.sh
index 61ccae33..981f9196 100755
--- a/test/TEST-15-BTRFSRAID/test.sh
+++ b/test/TEST-15-BTRFSRAID/test.sh
@@ -49,6 +49,7 @@ test_setup() {
. $basedir/dracut-functions.sh
dracut_install sfdisk mkfs.btrfs poweroff cp umount
inst_hook initqueue 01 ./create-root.sh
+ inst_hook initqueue/finished 01 ./finished-false.sh
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
)