summary refs log tree commit diff
path: root/bin/1sh/tests/builtins/command3.0
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/1sh/tests/builtins/command3.014
-rw-r--r--bin/1sh/tests/builtins/command3.0.stdout7
2 files changed, 21 insertions, 0 deletions
diff --git a/bin/1sh/tests/builtins/command3.0 b/bin/1sh/tests/builtins/command3.0
new file mode 100644
index 00000000..20d56604
--- /dev/null
+++ b/bin/1sh/tests/builtins/command3.0
@@ -0,0 +1,14 @@
+# $FreeBSD: releng/12.1/bin/sh/tests/builtins/command3.0 211399 2010-08-16 17:18:08Z jilles $
+command -v ls
+command -v true
+command -v /bin/ls
+
+fun() {
+	:
+}
+command -v fun
+command -v break
+command -v if
+
+alias foo=bar
+command -v foo
diff --git a/bin/1sh/tests/builtins/command3.0.stdout b/bin/1sh/tests/builtins/command3.0.stdout
new file mode 100644
index 00000000..67b86915
--- /dev/null
+++ b/bin/1sh/tests/builtins/command3.0.stdout
@@ -0,0 +1,7 @@
+/bin/ls
+true
+/bin/ls
+fun
+break
+if
+alias foo=bar