From c285d36ab2a48f09c14655a0dcec5895700fe4dd Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Thu, 28 Sep 2017 17:59:40 +0200 Subject: tests: Add 'basic.sh' * tests/init.sh: New test framework from Gnulib. * tests/basic.sh: New test. * Makefile.am (TESTS): Add it. (TEST_EXTENSIONS): Add '.sh'. (SH_LOG_COMPILER): Use 'pre-inst-env'. (EXTRA_DIST): Add 'tests/init.sh'. * build-aux/pre-inst-env.in: export $srcdir for shell tests. --- build-aux/pre-inst-env.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build-aux/pre-inst-env.in') diff --git a/build-aux/pre-inst-env.in b/build-aux/pre-inst-env.in index 75a8d70..aefe33e 100644 --- a/build-aux/pre-inst-env.in +++ b/build-aux/pre-inst-env.in @@ -32,4 +32,7 @@ export PATH MCRON_UNINSTALLED=1 export MCRON_UNINSTALLED +srcdir="@srcdir@" +export srcdir + exec "$@" -- cgit v1.2.3