Timothy Sample
597a6bcfb1
Touch up metadata and copyright notices.
...
* build-aux/gitlab-ci.yml,
build-aux/pre-inst-env.in,
configure.ac,
test.sh,
tests/spec/Makefile.am,
tests/spec/check-spec: Add copyright notices and GPLv3+ license notice.
* guix.scm: Add a "special exception" permissive license notice.
* doc/syntax.txt: Add title, introduction, copyright notice, and a
simple all-permissive license.
* COPYING.CC0: New file.
* NEWS: Reformat and add CC0 license notice.
* README: Add CC0 license notice.
* Makefile.am: Add copyright notices and GPLv3+ license notice.
(EXTRA_DIST): Add COPYING.CC0.
2019-05-22 00:44:39 -04:00
Timothy Sample
2162c40492
Add missing quotes in the test script.
...
* test.sh: Add missing quotes.
2019-05-22 00:44:39 -04:00
Timothy Sample
95545c9269
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 18:07:47 -04:00
Timothy Sample
42f9fb2671
Stabilize test suite.
...
* test.sh: Increase test timeout from 1 to 10.
* Makefile.am (FULL_TESTS): Move tests/10-if-redirect.sh,
tests/50-redirect-space.sh, tests/50-redirect-sed.sh, and
tests/100-cd.sh from here...
(BROKEN_TESTS): ...to here.
2019-05-16 10:49:38 -04:00
Timothy Sample
117a33d18e
Use Automake to run Gash tests.
...
* Makefile.am: Add Gash tests and use test.sh as the log compiler.
* test.sh: Use TEST_SHELL instead of SHELL to parameterize which shell
is being tested.
* tests/06-command-compound-word.sh: Adjust this test so that it works
even if the srcdir variable is set.
* .gitignore: Add tests/*.trs
2019-05-16 10:49:38 -04:00
Timothy Sample
fe7a322d4e
Move test/* to tests.
...
* test/*: Move these...
* tests: ...to this directory.
* check.sh, test.sh, .gitignore: Update references.
2019-05-16 10:49:38 -04:00
Timothy Sample
c5e5a34fc0
Move bin/gash to scripts.
...
* bin/gash.in: Move this...
* scripts/gash.in: ...here.
* configure, build-aux/build-guile.sh, makefile,
check.sh, test.sh, .gitignore: Update references.
2019-01-12 11:42:35 -05:00
Jan Nieuwenhuizen
b2f5004eb6
01-script-$0.sh, 01-script-$@.sh: add test and fix.
2018-11-24 12:25:24 +01:00
Jan Nieuwenhuizen
6203f8cf07
test: Update test suite.
2018-11-05 19:59:53 +01:00
Jan Nieuwenhuizen
9d1d2be6a6
test: Add expectations.
...
* check.sh: New file, from test.sh.
* test.sh: Run single test with expectations.
2018-11-03 08:02:49 +01:00
Jan Nieuwenhuizen
13cb50af60
gash: resurrect.
2018-10-21 15:24:24 +02:00
Jan Nieuwenhuizen
0f5b538c3a
geesh: initial integration.
...
GUILE_LOAD_PATH=$HOME/src/geesh:$GUILE_LOAD_PATH
GUILE_LOAD_COMPILED_PATH=$HOME/src/geesh:$GUILE_LOAD_COMPILED_PATH
bin/gash --parse -c 'echo boo | sed s,o,O, | grep .'
bin/gash --geesh --parse -c 'echo boo | sed s,o,O, | grep .'
2018-10-21 12:45:51 +02:00
Jan Nieuwenhuizen
795b059373
Add -e, -x options. Use -x for running tests.
2018-07-04 06:58:01 +02:00
Jan Nieuwenhuizen
503be95f97
test: Updates.
2018-07-03 22:18:05 +02:00
Rutger van Beusekom
e348606d36
testing
2017-12-07 23:07:31 +01:00
Rutger van Beusekom
4997c4421d
align globbing
2017-12-07 23:07:29 +01:00
Rutger van Beusekom
3431779da2
split tests
2017-12-07 23:07:29 +01:00
Rutger van Beusekom
cd6133a468
implement multiple terms
2017-12-07 23:07:29 +01:00
Rutger van Beusekom
be25278d6c
self-test support: cd test; ../anguish ../test.sh
2017-12-07 23:07:28 +01:00
Rutger van Beusekom
055aed1599
Conceived parameterized parsers: implements io-here.
2017-12-07 23:07:27 +01:00
Rutger van Beusekom
a431a84161
PEG shell grammar.
2017-12-07 23:07:27 +01:00