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:
df42cd3
)
test/TEST-16-DMSQUASH: add check for python-imgcreate
author
Harald Hoyer
<harald@redhat.com>
Mon, 4 Jun 2012 09:35:31 +0000
(11:35 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Mon, 4 Jun 2012 09:35:31 +0000
(11:35 +0200)
test/TEST-16-DMSQUASH/test.sh
patch
|
blob
|
history
diff --git
a/test/TEST-16-DMSQUASH/test.sh
b/test/TEST-16-DMSQUASH/test.sh
index
0878119
..
9a10058
100755
(executable)
--- a/
test/TEST-16-DMSQUASH/test.sh
+++ b/
test/TEST-16-DMSQUASH/test.sh
@@
-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 \