summary refs log tree commit diff
path: root/bin/1sh/tests/builtins/alias.0
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/1sh/tests/builtins/alias.09
-rw-r--r--bin/1sh/tests/builtins/alias.0.stdout4
2 files changed, 13 insertions, 0 deletions
diff --git a/bin/1sh/tests/builtins/alias.0 b/bin/1sh/tests/builtins/alias.0
new file mode 100644
index 00000000..4337f897
--- /dev/null
+++ b/bin/1sh/tests/builtins/alias.0
@@ -0,0 +1,9 @@
+# $FreeBSD: releng/12.1/bin/sh/tests/builtins/alias.0 190285 2009-03-22 21:12:00Z stefanf $
+set -e
+
+unalias -a
+alias foo=bar
+alias bar=
+alias quux="1 2 3"
+alias
+alias foo
diff --git a/bin/1sh/tests/builtins/alias.0.stdout b/bin/1sh/tests/builtins/alias.0.stdout
new file mode 100644
index 00000000..52efaf0b
--- /dev/null
+++ b/bin/1sh/tests/builtins/alias.0.stdout
@@ -0,0 +1,4 @@
+bar=''
+foo=bar
+quux='1 2 3'
+foo=bar