busybox/shell/ash_test/ash-misc/source3.tests

7 lines
167 B
Plaintext
Raw Normal View History

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