This website requires JavaScript.
Explore
Help
Sign In
andrius
/
gash
mirror of
https://git.savannah.gnu.org/git/gash.git
Watch
1
Star
0
Fork
You've already forked gash
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
eaf8b5da61
gash
/
tests
/
50-redirect-append.sh
5 lines
86 B
Bash
Raw
Normal View
History
Unescape
Escape
Fix building from an external directory. * Makefile.am (scripts/gash): Make sure the 'scripts' directory exists in the build tree. (SH_LOG_COMPILER): Call 'test.sh' from the source tree. * test.sh: Change the default test shell from 'scripts/gash' to 'gash'; export a 'TEST_TMP' variable that tells tests where to store temporary files; and make sure all output is written to the build directory. tests/50-redirect-append.sh: Use the 'TEST_TMP' variable. tests/60-subst.sh: Ditto.
2019-05-20 22:56:32 +01:00
echo
foo >
$TEST_TMP
/bar
echo
foo >>
$TEST_TMP
/bar
cat
$TEST_TMP
/bar
rm
$TEST_TMP
/bar