summary refs log tree commit diff
path: root/bin/1sh/tests/builtins/lineno3.0
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/1sh/tests/builtins/lineno3.06
-rw-r--r--bin/1sh/tests/builtins/lineno3.0.stdout2
2 files changed, 8 insertions, 0 deletions
diff --git a/bin/1sh/tests/builtins/lineno3.0 b/bin/1sh/tests/builtins/lineno3.0
new file mode 100644
index 00000000..f0c6be19
--- /dev/null
+++ b/bin/1sh/tests/builtins/lineno3.0
@@ -0,0 +1,6 @@
+# $FreeBSD: releng/12.1/bin/sh/tests/builtins/lineno3.0 272482 2014-10-03 20:24:56Z jilles $
+
+echo before: $LINENO
+dummy=$'a\0
+'
+echo after: $LINENO
diff --git a/bin/1sh/tests/builtins/lineno3.0.stdout b/bin/1sh/tests/builtins/lineno3.0.stdout
new file mode 100644
index 00000000..6e0e4ac8
--- /dev/null
+++ b/bin/1sh/tests/builtins/lineno3.0.stdout
@@ -0,0 +1,2 @@
+before: 3
+after: 6