source:
vendor/bash/3.1/tests/source5.sub@
3253
| Last change on this file since 3253 was 3228, checked in by , 19 years ago | |
|---|---|
| File size: 288 bytes | |
| Rev | Line | |
|---|---|---|
| [3228] | 1 | LC_ALL=en_US |
| 2 | unset LC_ALL | |
| 3 | unset LANG | |
| 4 | export LC_ALL=C | |
| 5 | export LANG=C | |
| 6 | ||
| 7 | set +o posix | |
| 8 | ||
| 9 | # attempting to source a non-existant file is not an error... | |
| 10 | . /tmp/source-notthere | |
| 11 | ||
| 12 | echo after bad source 1 | |
| 13 | ||
| 14 | set -o posix | |
| 15 | ||
| 16 | # ...unless you're in posix mode | |
| 17 | . /tmp/source-notthere | |
| 18 | ||
| 19 | echo after bad source 2 |
Note:
See TracBrowser
for help on using the repository browser.
