mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-13 01:36:15 +02:00
Use "set -x" in the tests to see where a test fails
This commit is contained in:
parent
e6ab52cdd1
commit
6ecf4f13f6
2 changed files with 4 additions and 0 deletions
|
@ -80,3 +80,5 @@ fail() {
|
||||||
echo "$1"
|
echo "$1"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
|
@ -10,6 +10,7 @@ touch $reference
|
||||||
|
|
||||||
echo "making registration..."
|
echo "making registration..."
|
||||||
|
|
||||||
|
set +x
|
||||||
for ((n = 0; n < $max; n++)); do
|
for ((n = 0; n < $max; n++)); do
|
||||||
storePath=$NIX_STORE_DIR/$n
|
storePath=$NIX_STORE_DIR/$n
|
||||||
echo -n > $storePath
|
echo -n > $storePath
|
||||||
|
@ -19,6 +20,7 @@ for ((n = 0; n < $max; n++)); do
|
||||||
fi
|
fi
|
||||||
echo $storePath; echo; echo 2; echo $reference; echo $ref2
|
echo $storePath; echo; echo 2; echo $reference; echo $ref2
|
||||||
done > $TEST_ROOT/reg_info
|
done > $TEST_ROOT/reg_info
|
||||||
|
set -x
|
||||||
|
|
||||||
echo "registering..."
|
echo "registering..."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue