chiark / gitweb /
test suite: Arrange not to overwrite .save-env on t-chain-test
[dgit.git] / tests / lib
index 4ddd6d8..7023dbf 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -53,6 +53,7 @@ tmp=`pwd`
 
 t-set-using-tmp
 
+test -f $tmp/.save-env || \
 env -0 >$tmp/.save-env
 
 ln -f $troot/ssh ssh