Skip to content
Snippets Groups Projects
Commit 6ecf4f13 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

Use "set -x" in the tests to see where a test fails

parent e6ab52cd
No related branches found
No related tags found
No related merge requests found
......@@ -80,3 +80,5 @@ fail() {
echo "$1"
exit 1
}
set -x
......@@ -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..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment