diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-22 15:38:26 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-22 15:38:41 +0000 |
commit | 2525c38d92320d6478a540fdb6ba192898b0b271 (patch) | |
tree | e59834e9739ac75e7cfd30868d1d65b1d255f20d /tests | |
parent | d57b80f073cd2babd4d0e5baf5e5c1c97a889316 (diff) | |
download | morph-2525c38d92320d6478a540fdb6ba192898b0b271.tar.gz |
Simplify by removing unnecessary variables
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/name-clash.script | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/name-clash.script b/tests/name-clash.script index b63fbfac..e47ea425 100755 --- a/tests/name-clash.script +++ b/tests/name-clash.script @@ -22,9 +22,6 @@ set -e -cache="$DATADIR/cache" -log="$DATADIR/morph.log" - ( cd "$DATADIR/chunk-repo" git checkout --quiet farrokh cat >goodbye <<EOF @@ -59,5 +56,5 @@ tests/morph build morphs-repo master hello-stratum.morph # unpack it and check the contents INSTDIR="$DATADIR"/unpack mkdir -p "$INSTDIR" -tar -C "$INSTDIR" -xhf "$cache/"*hello-stratum* +tar -C "$INSTDIR" -xhf "$DATADIR/cache/"*hello-stratum* test "$("$INSTDIR"/bin/hello)" = "hello, world" |