summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-11-24 21:04:56 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-11-24 21:04:56 -0500
commite2ee1a956a3b11d1840fc051443923b54339072b (patch)
tree5bdccd9a43253e799448618556243d3788bb7729 /tests.sh
parent6b820421d9ffe0599d9ff3f20703b2e2a04e4af8 (diff)
downloadbfs-e2ee1a956a3b11d1840fc051443923b54339072b.tar.xz
Allow // to be different from /
POSIX says that // may be resolved in an implementation-defined way (generally, to access network shares). So don't use it in tests, and don't canonicalize it to '/' in -execdir.
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests.sh b/tests.sh
index 08410d2..54371fd 100755
--- a/tests.sh
+++ b/tests.sh
@@ -289,7 +289,7 @@ function test_0043() {
}
function test_0044() {
- bfs_diff // -maxdepth 0 -name / 2>/dev/null
+ bfs_diff /// -maxdepth 0 -name / 2>/dev/null
}
function test_0045() {
@@ -536,8 +536,7 @@ function test_0099() {
}
function test_0100() {
- # // is canonicalized to /
- bfs_diff // -maxdepth 0 -execdir echo '{}' ';'
+ bfs_diff /// -maxdepth 0 -execdir echo '{}' ';'
}
for i in {1..100}; do