projects
/
platform
/
upstream
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfee7b1
)
Fix path lookup stuff
author
Wouter Verhelst
<w@uter.be>
Wed, 4 Apr 2018 12:01:44 +0000
(14:01 +0200)
committer
Wouter Verhelst
<w@uter.be>
Wed, 4 Apr 2018 12:01:44 +0000
(14:01 +0200)
We actually do need to pass non-symlinked stuff, just can't use readlink for
it. Use realpath, which is the portable alternative, instead.
tests/run/simple_test
patch
|
blob
|
history
diff --git
a/tests/run/simple_test
b/tests/run/simple_test
index
2d53824
..
4d057b4
100755
(executable)
--- a/
tests/run/simple_test
+++ b/
tests/run/simple_test
@@
-10,7
+10,7
@@
conffile=${tmpdir}/nbd.conf
pidfile=${tmpdir}/nbd.pid
tmpnam=${tmpdir}/nbd.dd
mydir=$(dirname $0)
-certdir=
"${mydir}/certs"
+certdir=
$(realpath ${mydir}/certs)
cleanup="$2"
PID=""