about summary refs log tree commit diff
path: root/tests/lang.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T12·51+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T12·51+0000
commit84c4631221bc65643830173b4affe58b0dc58202 (patch)
tree19093aff12bbb33e1b377a2fdec688965e42029e /tests/lang.sh
parenta4c63c6e8e161d55778b797e566d9eca7c47f34f (diff)
* Simplification.
Diffstat (limited to 'tests/lang.sh')
-rw-r--r--tests/lang.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lang.sh b/tests/lang.sh
index 5e9d8d51e0f1..f743a1830502 100644
--- a/tests/lang.sh
+++ b/tests/lang.sh
@@ -5,7 +5,7 @@ fail=0
 for i in lang/parse-fail-*.nix; do
     echo "parsing $i (should fail)";
     i=$(basename $i .nix)
-    if $TOP/src/nix-instantiate/nix-instantiate --parse-only - < lang/$i.nix; then
+    if $nixinstantiate --parse-only - < lang/$i.nix; then
         echo "FAIL: $i shouldn't parse"
         fail=1
     fi
@@ -14,7 +14,7 @@ done
 for i in lang/parse-okay-*.nix; do
     echo "parsing $i (should succeed)";
     i=$(basename $i .nix)
-    if ! $TOP/src/nix-instantiate/nix-instantiate --parse-only - < lang/$i.nix > lang/$i.ast; then
+    if ! $nixinstantiate --parse-only - < lang/$i.nix > lang/$i.ast; then
         echo "FAIL: $i should parse"
         fail=1
     fi
@@ -27,7 +27,7 @@ done
 for i in lang/eval-fail-*.nix; do
     echo "evaluating $i (should fail)";
     i=$(basename $i .nix)
-    if $TOP/src/nix-instantiate/nix-instantiate --eval-only - < lang/$i.nix; then
+    if $nixinstantiate --eval-only - < lang/$i.nix; then
         echo "FAIL: $i shouldn't evaluate"
         fail=1
     fi
@@ -36,7 +36,7 @@ done
 for i in lang/eval-okay-*.nix; do
     echo "evaluating $i (should succeed)";
     i=$(basename $i .nix)
-    if ! $TOP/src/nix-instantiate/nix-instantiate --eval-only - < lang/$i.nix > lang/$i.out; then
+    if ! $nixinstantiate --eval-only - < lang/$i.nix > lang/$i.out; then
         echo "FAIL: $i should evaluate"
         fail=1
     fi