projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f524f0
)
test-lib: Canonicalize test_dir.
author
Andre Noll
<maan@tuebingen.mpg.de>
Sun, 7 Feb 2016 15:59:38 +0000
(16:59 +0100)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Sun, 21 Feb 2016 21:46:07 +0000
(22:46 +0100)
This makes it easier to write tests. The realpath command is
available at least on Linux and *BSD.
t/test-lib.sh
patch
|
blob
|
history
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index
0e702b5
..
99e575d
100644
(file)
--- a/
t/test-lib.sh
+++ b/
t/test-lib.sh
@@
-272,7
+272,7
@@
fixup_dirs()
{
local wd=$(pwd)
- test_dir="$
wd/${0%/*}
"
+ test_dir="$
(realpath $wd/${0%/*})
"
test_audio_file_dir="$test_dir/audio_files"
[[ -z "$o_results_dir" ]] && o_results_dir="$test_dir/test-results"