mirror of
https://github.com/sheumann/hush.git
synced 2024-12-26 10:32:02 +00:00
hush: document a bug about aborting on sourced file error when non-interactive
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
3eab24e64a
commit
c162bcdcd1
5
shell/hush_test/hush-misc/source1.right
Normal file
5
shell/hush_test/hush-misc/source1.right
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
hush: syntax error: unterminated ${name}
|
||||||
|
line2
|
||||||
|
Ok1:0
|
||||||
|
hush: syntax error: unterminated '
|
||||||
|
Ok2:1
|
10
shell/hush_test/hush-misc/source1.tests
Executable file
10
shell/hush_test/hush-misc/source1.tests
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
echo 'echo ${^}
|
||||||
|
echo line2' >sourced1
|
||||||
|
. ./sourced1
|
||||||
|
echo Ok1:$?
|
||||||
|
|
||||||
|
echo "echo '" >sourced1
|
||||||
|
. ./sourced1
|
||||||
|
echo Ok2:$?
|
||||||
|
|
||||||
|
rm sourced1
|
Loading…
Reference in New Issue
Block a user