chiark / gitweb /
setting-tests-env-vars: make eatmydata configurable master
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 22 Jun 2020 14:01:51 +0000 (15:01 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 22 Jun 2020 14:01:51 +0000 (15:01 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
setting-tests-env-vars

index f34711e..e89652d 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/sh
 
 #!/bin/sh
 
-export DGIT_TEST_RUN_PFX=eatmydata
+${DGIT_TEST_RUN_PFX=eatmydata}
+export DGIT_TEST_RUN_PFX
+
 export DGIT_TESTS_TMPDIR=/run/user/`id -u`/dgit-tests-tmp
 
 exec "$@"
 export DGIT_TESTS_TMPDIR=/run/user/`id -u`/dgit-tests-tmp
 
 exec "$@"