diff options
Diffstat (limited to 'shell/hush_test/hush-vars')
-rw-r--r-- | shell/hush_test/hush-vars/var_LINENO3.right | 2 | ||||
-rwxr-xr-x | shell/hush_test/hush-vars/var_LINENO3.tests | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/var_LINENO3.right b/shell/hush_test/hush-vars/var_LINENO3.right new file mode 100644 index 0000000..198c3cc --- /dev/null +++ b/shell/hush_test/hush-vars/var_LINENO3.right @@ -0,0 +1,2 @@ +LINENO starts from 0 in -c +and increments on next line: 1 diff --git a/shell/hush_test/hush-vars/var_LINENO3.tests b/shell/hush_test/hush-vars/var_LINENO3.tests new file mode 100755 index 0000000..4502edf --- /dev/null +++ b/shell/hush_test/hush-vars/var_LINENO3.tests @@ -0,0 +1,2 @@ +$THIS_SH -c 'echo "LINENO starts from $LINENO in -c" +echo "and increments on next line: $LINENO"' |