busybox/shell/hush_test/hush-misc/source3.tests
Denys Vlasenko 992e0ff7e9 hush: fix ". EMPTY_LINE" not setting $? to 0
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-09-29 01:27:09 +02:00

7 lines
167 B
Plaintext
Executable File

# Test both empty file, and one-empty-line file
echo >sourced1
true >sourced2
false; . ./sourced1; echo Zero:$?
false; . ./sourced2; echo Zero:$?
rm sourced1 sourced2