Make it convenient to run the tests with new env vars in sudo
authorPaul Crowley <paul@lshift.net>
Fri, 24 Aug 2012 13:49:55 +0100
changeset 365 f2e13e08ea13
parent 364 1048e2943566
child 366 660f5631013e
Make it convenient to run the tests with new env vars in sudo
dev/chroot-test/run-test
--- a/dev/chroot-test/run-test	Fri Aug 24 13:28:00 2012 +0100
+++ b/dev/chroot-test/run-test	Fri Aug 24 13:49:55 2012 +0100
@@ -3,6 +3,11 @@
 # Must be root to run this
 
 set -e
+
+for clause in $@ ; do
+    export $clause
+done
+
 cd $(hg root)
 
 DEBVERSION=sid