projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68910ba
)
TEST-15-BTRFSRAID: write diskimage to tmp dir
author
Harald Hoyer
<harald@redhat.com>
Wed, 8 Feb 2012 16:02:57 +0000
(17:02 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 8 Feb 2012 16:02:57 +0000
(17:02 +0100)
test/TEST-15-BTRFSRAID/test.sh
patch
|
blob
|
history
diff --git
a/test/TEST-15-BTRFSRAID/test.sh
b/test/TEST-15-BTRFSRAID/test.sh
index
bacdb4a
..
8f7839d
100755
(executable)
--- a/
test/TEST-15-BTRFSRAID/test.sh
+++ b/
test/TEST-15-BTRFSRAID/test.sh
@@
-5,8
+5,8
@@
KVERSION=${KVERSION-$(uname -r)}
# Uncomment this to debug failures
#DEBUGFAIL="rd.shell"
-DISKIMAGE=$TESTDIR/TEST-15-BTRFSRAID-root.img
test_run() {
+ DISKIMAGE=$TESTDIR/TEST-15-BTRFSRAID-root.img
$testdir/run-qemu \
-hda $DISKIMAGE \
-m 256M -nographic \
@@
-18,6
+18,7
@@
test_run() {
test_setup() {
# Create the blank file to use as a root filesystem
+ DISKIMAGE=$TESTDIR/TEST-15-BTRFSRAID-root.img
rm -f $DISKIMAGE
dd if=/dev/null of=$DISKIMAGE bs=1M seek=1024