about summary refs log tree commit diff
path: root/tests/referrers.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-27T18·33-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-27T18·33-0400
commit6ecf4f13f6a71701f77018a852db2bd4bde0bb67 (patch)
tree38a07029d8970c35cccc79c95a53342c36e46f8d /tests/referrers.sh
parente6ab52cdd1df207c7a007a9cba665ee8a031d94a (diff)
Use "set -x" in the tests to see where a test fails
Diffstat (limited to '')
-rw-r--r--tests/referrers.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/referrers.sh b/tests/referrers.sh
index d4604aec93..e57b2d8e31 100644
--- a/tests/referrers.sh
+++ b/tests/referrers.sh
@@ -10,6 +10,7 @@ touch $reference
 
 echo "making registration..."
 
+set +x
 for ((n = 0; n < $max; n++)); do
     storePath=$NIX_STORE_DIR/$n
     echo -n > $storePath
@@ -19,6 +20,7 @@ for ((n = 0; n < $max; n++)); do
     fi
     echo $storePath; echo; echo 2; echo $reference; echo $ref2
 done > $TEST_ROOT/reg_info
+set -x
 
 echo "registering..."