diff options
Diffstat (limited to 'shell/hush_test/hush-misc/source3.tests')
-rwxr-xr-x | shell/hush_test/hush-misc/source3.tests | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/source3.tests b/shell/hush_test/hush-misc/source3.tests new file mode 100755 index 0000000..1abf156 --- /dev/null +++ b/shell/hush_test/hush-misc/source3.tests @@ -0,0 +1,6 @@ +# Test both empty file, and one-empty-line file +echo >sourced1 +true >sourced2 +false; . ./sourced1; echo Zero:$? +false; . ./sourced2; echo Zero:$? +rm sourced1 sourced2 |