diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-03-01 14:26:03 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-03-01 14:26:03 +0000 |
commit | b90787290df216f511ec296c85390e645ca1e89f (patch) | |
tree | c269893e2d19f6bac41bce4fbd77b3c5f1b09812 /tests/common.sh.in | |
parent | 089c41a0c2ecf91c55495547a5462d75f36be5f4 (diff) |
* TDD! Woohoo!
Diffstat (limited to 'tests/common.sh.in')
-rw-r--r-- | tests/common.sh.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/common.sh.in b/tests/common.sh.in index 71554af10..403e144e2 100644 --- a/tests/common.sh.in +++ b/tests/common.sh.in @@ -32,3 +32,7 @@ export nixinstantiate=$TOP/src/nix-instantiate/nix-instantiate export nixstore=$TOP/src/nix-store/nix-store export nixenv=$TOP/src/nix-env/nix-env export nixhash=$TOP/src/nix-hash/nix-hash + +readLink() { + ls -l "$1" | sed 's/.*->\ //' +} |