Fix regression test rhbz503169c10.sh.
authorRichard Jones <rjones@trick.home.annexia.org>
Wed, 12 Aug 2009 09:38:54 +0000 (10:38 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Wed, 12 Aug 2009 09:38:54 +0000 (10:38 +0100)
'll' command has changed semantics very slightly
(see commit 6727e7c8bdf1cb39264a9de6333d228b51c39956).
We need to fix this test so it doesn't try to run
the ll command without a mounted disk.

regressions/rhbz503169c10.sh

index 2cfdbca..8813c05 100755 (executable)
@@ -26,6 +26,9 @@ dd if=/dev/zero of=test1.img bs=1024k count=10
 
 ../fish/guestfish -a test1.img <<EOF
 launch
+sfdisk /dev/sda 0 0 0 ,
+mkfs ext2 /dev/sda1
+mount /dev/sda1 /
 ll /../dev/console
 ll /../dev/full
 ll /../dev/mapper/