diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-03-01T12·15+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-03-01T12·15+0000 |
commit | a4c63c6e8e161d55778b797e566d9eca7c47f34f (patch) | |
tree | 9caaa0d38d12836f5de88b41aecff988b8ff9472 /tests/hash.sh | |
parent | 85793fa438847974330123a8d4160283fcfa18f7 (diff) |
* Make it easy to run individual tests from the command line.
Diffstat (limited to 'tests/hash.sh')
-rw-r--r-- | tests/hash.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/hash.sh b/tests/hash.sh index 848a36c6b8d7..fbbf1a761e91 100644 --- a/tests/hash.sh +++ b/tests/hash.sh @@ -1,3 +1,5 @@ +source common.sh + try () { echo -n "$2" > $TEST_ROOT/vector hash=$($TOP/src/nix-hash/nix-hash $EXTRA --flat --type "$1" $TEST_ROOT/vector) |