aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-12-16 12:06:57 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-12-16 12:06:57 +0900
commit72d2bbeab8cf55569e9a86d8867a2297c677ee6a (patch)
treea60fbe6b46cb0f9f294d1be2e9601dbf858986ab /examples
parent46decfdf95bb877993f0e9e49cb9d483dde1007c (diff)
downloadpbuilder-72d2bbeab8cf55569e9a86d8867a2297c677ee6a.tar
pbuilder-72d2bbeab8cf55569e9a86d8867a2297c677ee6a.tar.gz
try ignoring test for packages which do not have tests
Diffstat (limited to 'examples')
-rw-r--r--examples/B92test-pkg8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/B92test-pkg b/examples/B92test-pkg
index 5a2aba4..7372ca0 100644
--- a/examples/B92test-pkg
+++ b/examples/B92test-pkg
@@ -16,7 +16,13 @@ done
dpkg -i /tmp/buildd/*.deb
-chmod a+x /tmp/buildd/*/debian/pbuilder-test/*
+if chmod a+x /tmp/buildd/*/debian/pbuilder-test/*; then
+ :
+else
+ echo "W: no pbuilder-test script found, skipping"
+ exit 0
+fi
+
SUCCESS=0
COUNT=0
unset FAIL || true