diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-05-06T14·43+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-05-06T14·43+0000 |
commit | d8cda7c3dc8e0fa38694ccdd8b93786ffad72deb (patch) | |
tree | b3020d15f33ce2e719973abd7505ef4d0a2874a1 /tests | |
parent | 52a2f41320d1fe35ceccaef35db9fd661f8bffb6 (diff) |
* Mac OS X (and POSIX) doesn't have readlink.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/nix-pull.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nix-pull.sh b/tests/nix-pull.sh index b4a5e33711c4..4f53113bc853 100644 --- a/tests/nix-pull.sh +++ b/tests/nix-pull.sh @@ -34,4 +34,4 @@ cat $outPath/input-2/bar # Check that the derivers are set properly. test $($TOP/src/nix-store/nix-store -q --deriver "$outPath") = "$drvPath" -$TOP/src/nix-store/nix-store -q --deriver $(readlink $outPath/input-2) | grep -q -- "-input-2.drv" +$TOP/src/nix-store/nix-store -q --deriver $(/bin/ls -l $outPath/input-2 | sed 's/.*->\ //') | grep -q -- "-input-2.drv" |