diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-02-04 15:03:25 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-02-04 15:03:25 -0500 |
commit | 8eefc1b98f645d1462442cdb357bfcfe06a9c1e4 (patch) | |
tree | c18d1a216811b1b5e75abb33295183cd973f21c9 | |
parent | de36d3b27039141ba6402cb91a19a1d852185a92 (diff) |
tests/basic ensure that the directory is actually an absolute path, not a relative one.
-rwxr-xr-x | tests/basic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic b/tests/basic index 0cad727..455c057 100755 --- a/tests/basic +++ b/tests/basic @@ -90,7 +90,7 @@ trap failed_cleanup EXIT # make temp dir mkdir -p "$TESTDIR"/tmp -TEMPDIR=$(mktemp -d ${TMPDIR:-"$TESTDIR"/tmp}/monkeyspheretest.XXXXXXX) +TEMPDIR=$(mktemp -d ${TMPDIR:-$(cd "$TESTDIR" && printf "%s" $(pwd)/tmp)}/monkeyspheretest.XXXXXXX) # Use the local copy of executables first, instead of system ones. # This should help us test without installing. |