aboutsummaryrefslogtreecommitdiff
path: root/testsuite/run-test.sh
diff options
context:
space:
mode:
authordancer <dancer>2003-09-18 21:28:31 +0000
committerdancer <dancer>2003-09-18 21:28:31 +0000
commit91273a8fc9d9af252286a860af7b7e95dacbd9b7 (patch)
tree8070299a21fc1e6b899f0e01582bbfaeb909cfdc /testsuite/run-test.sh
parent63661df3676c0accda02bbee8f209594c627a7c6 (diff)
downloadpbuilder-91273a8fc9d9af252286a860af7b7e95dacbd9b7.tar
pbuilder-91273a8fc9d9af252286a860af7b7e95dacbd9b7.tar.gz
+ * Makefile (clean): remove testsuite/testimage, it's 1G.
+ (full-check): add new target to run the test program. + + * pbuilder-user-mode-linux (UML_EXITCODE): check for rootstrap.conf in the + current directory. + + * testsuite/run-test.sh (PBUILDER_UML): a test script to run pbuilder-uml and see if it's working. + + * testsuite/rootstrap.conf (interface): testsuite config +
Diffstat (limited to 'testsuite/run-test.sh')
-rwxr-xr-xtestsuite/run-test.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/run-test.sh b/testsuite/run-test.sh
new file mode 100755
index 0000000..547620b
--- /dev/null
+++ b/testsuite/run-test.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+# This is a testsuite.
+PBUILDER_UML=/usr/bin/pbuilder-user-mode-linux
+
+if [ -x "${PBUILDER_UML}" ]; then
+ pbuilder-user-mode-linux create --distribution sid --uml-image $(pwd)/testimage --logfile pbuilder-user-mode-linux-create.log
+fi
+
+