summaryrefslogtreecommitdiffstats
path: root/tools/regression/bin/sh/builtins/cd3.0
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/bin/sh/builtins/cd3.0')
-rw-r--r--tools/regression/bin/sh/builtins/cd3.021
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/regression/bin/sh/builtins/cd3.0 b/tools/regression/bin/sh/builtins/cd3.0
deleted file mode 100644
index 7729c54..0000000
--- a/tools/regression/bin/sh/builtins/cd3.0
+++ /dev/null
@@ -1,21 +0,0 @@
-# $FreeBSD$
-
-# If fully successful, cd -Pe must be like cd -P.
-
-set -e
-
-cd "${TMPDIR:-/tmp}"
-cd -Pe /
-[ "$PWD" = / ]
-[ "$(pwd)" = / ]
-cd "${TMPDIR:-/tmp}"
-cd -eP /
-[ "$PWD" = / ]
-[ "$(pwd)" = / ]
-
-set +e
-
-# If cd -Pe cannot chdir, the exit status must be greater than 1.
-
-v=$( (cd -Pe /var/empty/nonexistent) 2>&1 >/dev/null)
-[ $? -gt 1 ] && [ -n "$v" ]
OpenPOWER on IntegriCloud