Skip to content

Commit

Permalink
Fix path lookup stuff
Browse files Browse the repository at this point in the history
We actually do need to pass non-symlinked stuff, just can't use readlink for
it. Use realpath, which is the portable alternative, instead.
  • Loading branch information
yoe committed Apr 4, 2018
1 parent dfee7b1 commit 640dc2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run/simple_test
Expand Up @@ -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=""

Expand Down

0 comments on commit 640dc2d

Please sign in to comment.