--- tests/kickstart_tests/btrfs-1.sh | 13 ++----------- tests/kickstart_tests/btrfs-2.sh | 13 ++----------- 2 files changed, 4 insertions(+), 22 deletions(-)
diff --git a/tests/kickstart_tests/btrfs-1.sh b/tests/kickstart_tests/btrfs-1.sh index 2c2f70d..dd83fb0 100755 --- a/tests/kickstart_tests/btrfs-1.sh +++ b/tests/kickstart_tests/btrfs-1.sh @@ -17,21 +17,12 @@ # # Red Hat Author(s): Chris Lumens clumens@redhat.com
-kernel_args() { - echo vnc -} - -prepare() { - ks=$1 - tmpdir=$2 - - echo ${ks} -} +. ${KSTESTDIR}/functions.sh
validate() { img=$1
- # There should be a /root/RESULT file with results in it. Check + # There should be a /root/root/RESULT file with results in it. Check # its contents and decide whether the test finally succeeded or # not. result=$(virt-cat -a ${img} -m /dev/sda2 /root/root/RESULT) diff --git a/tests/kickstart_tests/btrfs-2.sh b/tests/kickstart_tests/btrfs-2.sh index 2c2f70d..dd83fb0 100755 --- a/tests/kickstart_tests/btrfs-2.sh +++ b/tests/kickstart_tests/btrfs-2.sh @@ -17,21 +17,12 @@ # # Red Hat Author(s): Chris Lumens clumens@redhat.com
-kernel_args() { - echo vnc -} - -prepare() { - ks=$1 - tmpdir=$2 - - echo ${ks} -} +. ${KSTESTDIR}/functions.sh
validate() { img=$1
- # There should be a /root/RESULT file with results in it. Check + # There should be a /root/root/RESULT file with results in it. Check # its contents and decide whether the test finally succeeded or # not. result=$(virt-cat -a ${img} -m /dev/sda2 /root/root/RESULT)
On Wed, Jul 08, 2015 at 10:25:29AM -0400, Chris Lumens wrote:
tests/kickstart_tests/btrfs-1.sh | 13 ++----------- tests/kickstart_tests/btrfs-2.sh | 13 ++----------- 2 files changed, 4 insertions(+), 22 deletions(-)
diff --git a/tests/kickstart_tests/btrfs-1.sh b/tests/kickstart_tests/btrfs-1.sh index 2c2f70d..dd83fb0 100755 --- a/tests/kickstart_tests/btrfs-1.sh +++ b/tests/kickstart_tests/btrfs-1.sh @@ -17,21 +17,12 @@
Ack
anaconda-patches@lists.fedorahosted.org