summary refs log tree commit diff
path: root/bin/cash/tests/builtins/cd10.0
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cash/tests/builtins/cd10.0')
-rw-r--r--bin/cash/tests/builtins/cd10.06
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/cash/tests/builtins/cd10.0 b/bin/cash/tests/builtins/cd10.0
new file mode 100644
index 00000000..b5008ca9
--- /dev/null
+++ b/bin/cash/tests/builtins/cd10.0
@@ -0,0 +1,6 @@
+# $FreeBSD: releng/12.0/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'