summary refs log tree commit diff
path: root/bin/1sh/tests/builtins/cd9.0
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/1sh/tests/builtins/cd9.08
-rw-r--r--bin/1sh/tests/builtins/cd9.0.stdout2
2 files changed, 10 insertions, 0 deletions
diff --git a/bin/1sh/tests/builtins/cd9.0 b/bin/1sh/tests/builtins/cd9.0
new file mode 100644
index 00000000..f3ccfb70
--- /dev/null
+++ b/bin/1sh/tests/builtins/cd9.0
@@ -0,0 +1,8 @@
+# $FreeBSD: releng/12.1/bin/sh/tests/builtins/cd9.0 293371 2016-01-07 21:46:07Z jilles $
+
+cd /dev
+cd /bin
+cd - >/dev/null
+pwd
+cd - >/dev/null
+pwd
diff --git a/bin/1sh/tests/builtins/cd9.0.stdout b/bin/1sh/tests/builtins/cd9.0.stdout
new file mode 100644
index 00000000..dac16a76
--- /dev/null
+++ b/bin/1sh/tests/builtins/cd9.0.stdout
@@ -0,0 +1,2 @@
+/dev
+/bin