summary refs log tree commit diff
path: root/bin/1sh/tests/builtins/alias3.0
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/1sh/tests/builtins/alias3.012
-rw-r--r--bin/1sh/tests/builtins/alias3.0.stdout4
2 files changed, 16 insertions, 0 deletions
diff --git a/bin/1sh/tests/builtins/alias3.0 b/bin/1sh/tests/builtins/alias3.0
new file mode 100644
index 00000000..cb0c2f78
--- /dev/null
+++ b/bin/1sh/tests/builtins/alias3.0
@@ -0,0 +1,12 @@
+# $FreeBSD: releng/12.1/bin/sh/tests/builtins/alias3.0 242767 2012-11-08 13:36:19Z jilles $
+set -e
+
+unalias -a
+alias foo=bar
+alias bar=
+alias quux="1 2 3"
+alias foo=bar
+alias bar=
+alias quux="1 2 3"
+alias
+alias foo
diff --git a/bin/1sh/tests/builtins/alias3.0.stdout b/bin/1sh/tests/builtins/alias3.0.stdout
new file mode 100644
index 00000000..52efaf0b
--- /dev/null
+++ b/bin/1sh/tests/builtins/alias3.0.stdout
@@ -0,0 +1,4 @@
+bar=''
+foo=bar
+quux='1 2 3'
+foo=bar