diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-10-10 21:32:34 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-10-10 21:32:34 +0000 |
commit | 8af7d766f0244d5b15d89ab2d2d66b0d63e8f576 (patch) | |
tree | 3346cb494de0bf35403d812efd8b757595cd44d6 /tests/timeout.sh | |
parent | cd6d02c366af43bccdd2ef345193e4fdeca78a13 (diff) |
* Refactoring: remove unnecessary variables from the tests.
Diffstat (limited to 'tests/timeout.sh')
-rw-r--r-- | tests/timeout.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/timeout.sh b/tests/timeout.sh index f27739fb2..2101d13a7 100644 --- a/tests/timeout.sh +++ b/tests/timeout.sh @@ -2,14 +2,14 @@ source common.sh -drvPath=$($nixinstantiate timeout.nix) +drvPath=$(nix-instantiate timeout.nix) -test "$($nixstore -q --binding system "$drvPath")" = "$system" +test "$(nix-store -q --binding system "$drvPath")" = "$system" echo "derivation is $drvPath" failed=0 -messages="`$nixstore -r --timeout 2 $drvPath 2>&1 || failed=1`" +messages="`nix-store -r --timeout 2 $drvPath 2>&1 || failed=1`" if test $failed -ne 0; then echo "error: \`nix-store' succeeded; should have timed out" >&2 exit 1 |