Browse Source

test/TEST-16-DMSQUASH: add check for python-imgcreate

master
Harald Hoyer 13 years ago
parent
commit
c79f3883cd
  1. 8
      test/TEST-16-DMSQUASH/test.sh

8
test/TEST-16-DMSQUASH/test.sh

@ -6,6 +6,14 @@ KVERSION=${KVERSION-$(uname -r)} @@ -6,6 +6,14 @@ KVERSION=${KVERSION-$(uname -r)}
# Uncomment this to debug failures
#DEBUGFAIL="rd.shell rd.break"

test_check() {
if ! [ -d "/usr/lib/python2.7/site-packages/imgcreate" ]; then
echo "python-imgcreate not installed"
return 1
fi
return 0
}

test_run() {
$testdir/run-qemu \
-boot order=d \

Loading…
Cancel
Save