From 503be95f973e34d1643ecad5edb9cce15a10cdc7 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Tue, 3 Jul 2018 21:49:55 +0200 Subject: [PATCH] test: Updates. --- configure | 2 ++ makefile | 16 +++++++++++++--- test.sh | 18 +++++++++++++++++- test/00-exit.sh | 1 + test/01-exit-0.sh | 1 + test/02-exit-1.exit | 1 + test/02-exit-1.sh | 1 + test/03-echo.sh | 1 + test/04-echo-var.sh | 1 + test/{assignment => 05-assignment.sh} | 0 test/06-assignment-echo.sh | 2 ++ test/{find => find.sh} | 0 test/for | 1 - test/for.sh | 1 + test/{ifthen => ifthen.sh} | 0 test/{ifthenelse => ifthenelse.sh} | 0 test/{iohere => iohere.sh} | 0 test/{list => list.sh} | 0 test/{ls => ls.sh} | 0 test/{nesting => nesting.sh} | 0 test/{pipe => pipe.sh} | 0 test/{substitution => substitution.sh} | 0 test/{test => test.sh} | 0 test/var | 1 - 24 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 test/00-exit.sh create mode 100644 test/01-exit-0.sh create mode 100644 test/02-exit-1.exit create mode 100644 test/02-exit-1.sh create mode 100644 test/03-echo.sh create mode 100644 test/04-echo-var.sh rename test/{assignment => 05-assignment.sh} (100%) create mode 100644 test/06-assignment-echo.sh rename test/{find => find.sh} (100%) delete mode 100644 test/for create mode 100644 test/for.sh rename test/{ifthen => ifthen.sh} (100%) rename test/{ifthenelse => ifthenelse.sh} (100%) rename test/{iohere => iohere.sh} (100%) rename test/{list => list.sh} (100%) rename test/{ls => ls.sh} (100%) rename test/{nesting => nesting.sh} (100%) rename test/{pipe => pipe.sh} (100%) rename test/{substitution => substitution.sh} (100%) rename test/{test => test.sh} (100%) delete mode 100644 test/var diff --git a/configure b/configure index 5c038d6..bced961 100755 --- a/configure +++ b/configure @@ -9,6 +9,7 @@ if [ -z "$PREFIX" ]; then PREFIX=/usr/local fi +BASH=$(command -v bash) GUILE=$(command -v guile) GUILE_TOOLS=$(command -v guile-tools) GUILE_SITE_DIR=$PREFIX/share/guile/site/$GUILE_EFFECTIVE_VERSION @@ -22,6 +23,7 @@ sed \ bin/gash.in > bin/gash chmod +x bin/gash cat > .config.make <