summaryrefslogtreecommitdiff
path: root/%25252525252525253fid%25252525252525253d3e8bba2fd1e71899adaa88fc1fbdeacd7b518...
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2021-04-03 17:29:40 -0400
committerLukas Fleischer <lfleischer@calcurse.org>2021-04-03 17:55:46 -0400
commitb36e603997e5534b9173d4e0de856309d7d56b3d (patch)
treef9d2f7323663bae9a3e7ac7c5d93957fe4f9567c /%25252525252525253fid%25252525252525253d3e8bba2fd1e71899adaa88fc1fbdeacd7b51815e%252525252525253fid%252525252525253db36e603997e5534b9173d4e0de856309d7d56b3d%2525252525253fid%2525252525253db36e603997e5534b9173d4e0de856309d7d56b3d&id2%2525252525253df1e84bd18bc6f9e0ce52b9f1dd08590e97d438a7%25252525253fid%25252525253db36e603997e5534b9173d4e0de856309d7d56b3d%252525253fid%252525253db36e603997e5534b9173d4e0de856309d7d56b3d&id2%252525253df1e84bd18bc6f9e0ce52b9f1dd08590e97d438a7%2525253fid%2525253db36e603997e5534b9173d4e0de856309d7d56b3d%25253fid%25253db36e603997e5534b9173d4e0de856309d7d56b3d&id2%25253df1e84bd18bc6f9e0ce52b9f1dd08590e97d438a7%253fid%253db36e603997e5534b9173d4e0de856309d7d56b3d&id2%253df1e84bd18bc6f9e0ce52b9f1dd08590e97d438a7%3fid%3db36e603997e5534b9173d4e0de856309d7d56b3d?id=b36e603997e5534b9173d4e0de856309d7d56b3d
parentf1e84bd18bc6f9e0ce52b9f1dd08590e97d438a7 (diff)
Do not use readlink(1) in tests
Avoid using readlink(1) which is not POSIX-compatible; moreover, `readlink -f` is not available on Mac OS by default. Instead, always convert $CALCURSE to an absolute path (that may or may not be canonical, i.e., be a symlink or contain ../ as component) in test-init.sh by prepending the current working directory if the original path is relative. While not fully equivalent to `readlink -f`, this should be good enough for use in our tests. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to '%25252525252525253fid%25252525252525253d3e8bba2fd1e71899adaa88fc1fbdeacd7b51815e%252525252525253fid%252525252525253db36e603997e5534b9173d4e0de856309d7d56b3d%2525252525253fid%2525252525253db36e603997e5534b9173d4e0de856309d7d56b3d&id2%2525252525253df1e84bd18bc6f9e0ce52b9f1dd08590e97d438a7%25252525253fid%25252525253db36e603997e5534b9173d4e0de856309d7d56b3d%252525253fid%252525253db36e603997e5534b9173d4e0de856309d7d56b3d&id2%252525253df1e84bd18bc6f9e0ce52b9f1dd08590e97d438a7%2525253fid%2525253db36e603997e5534b9173d4e0de856309d7d56b3d%25253fid%25253db36e603997e5534b9173d4e0de856309d7d56b3d&id2%25253df1e84bd18bc6f9e0ce52b9f1dd08590e97d438a7%253fid%253db36e603997e5534b9173d4e0de856309d7d56b3d&id2%253df1e84bd18bc6f9e0ce52b9f1dd08590e97d438a7%3fid%3db36e603997e5534b9173d4e0de856309d7d56b3d?id=b36e603997e5534b9173d4e0de856309d7d56b3d')
0 files changed, 0 insertions, 0 deletions