aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/sh/tests/builtins/cd10.0
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/sh/tests/builtins/cd10.0')
-rw-r--r--shell_cmds/sh/tests/builtins/cd10.06
1 files changed, 6 insertions, 0 deletions
diff --git a/shell_cmds/sh/tests/builtins/cd10.0 b/shell_cmds/sh/tests/builtins/cd10.0
new file mode 100644
index 0000000..79d540f
--- /dev/null
+++ b/shell_cmds/sh/tests/builtins/cd10.0
@@ -0,0 +1,6 @@
+# $FreeBSD: head/bin/sh/tests/builtins/cd10.0 320340 2017-06-25 21:53:08Z jilles $
+
+# Precondition
+(cd /bin) || exit
+# Verify write error is ignored.
+$SH +m -ic 'CDPATH=/:; cd bin 1</dev/null'