Copy in and use environment vars to control test
authorPaul Crowley <paul@lshift.net>
Wed, 07 Sep 2011 11:05:13 +0100
changeset 327 6f2a3f251d3b
parent 326 b44dd7bad82c
child 328 311989e24f27
Copy in and use environment vars to control test
dev/chroot-test/action/go
dev/chroot-test/run-test
--- a/dev/chroot-test/action/go	Wed Sep 07 10:56:24 2011 +0100
+++ b/dev/chroot-test/action/go	Wed Sep 07 11:05:13 2011 +0100
@@ -7,6 +7,7 @@
 ls -l
 
 . ./testing_system
+. ./env
 
 #exec > results 2>&1
 
--- a/dev/chroot-test/run-test	Wed Sep 07 10:56:24 2011 +0100
+++ b/dev/chroot-test/run-test	Wed Sep 07 11:05:13 2011 +0100
@@ -52,6 +52,7 @@
 
 cp -av $SCRIPTS/action $BACKING
 . $SCRIPTS/copy-installables
+env | grep '^CHROOT_TEST_' > $BACKING/action/env || true
 
 unionfs-fuse -o cow -o allow_other,suid,dev $BACKING=RW:$PRISTINE=RO $MOUNT