summaryrefslogtreecommitdiff
path: root/test/rebar_eunit_tests.erl
diff options
context:
space:
mode:
authorolgeni <olgeni@olgeni.com>2013-06-10 22:15:49 +0200
committerolgeni <olgeni@olgeni.com>2013-06-10 22:15:49 +0200
commit505458eecb78f90e6c266cbaec9244e88d8c3f1e (patch)
treeebaa2db19a3c16675d5586501a72c855a62e5301 /test/rebar_eunit_tests.erl
parent638569acc2a2947e0e2d8d159b1f8ff9e261a551 (diff)
Use "pwd -P" to get the current physical path.
It is a portable version of the realpath(1) utility that you can find on Mac OS X and FreeBSD (see also The Open Group Base Specifications Issue 6, IEEE Std 1003.1). Without the -P flag, pwd(1) might return different values when the current path contains one or more symlinks, depending on how you got into the current directory. In simplenode.runner, this may cause PIPE_DIR to have different values on each use, which will make it impossible to connect to the running node unless you guess the correct path yourself.
Diffstat (limited to 'test/rebar_eunit_tests.erl')
0 files changed, 0 insertions, 0 deletions