From b90787290df216f511ec296c85390e645ca1e89f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Mar 2006 14:26:03 +0000 Subject: * TDD! Woohoo! --- tests/common.sh.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/common.sh.in') diff --git a/tests/common.sh.in b/tests/common.sh.in index 71554af109..403e144e2d 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/.*->\ //' +} -- cgit 1.4.1