diff options
author | Jim Meyering <meyering@redhat.com> | 2010-05-09 20:35:48 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-05-09 20:43:35 +0200 |
commit | 080106b3d8ae87d8851c489b32175b98e4978c4e (patch) | |
tree | 8fcc02f363038126343c36ebed64d016ab6bf31d /testsuite/init.sh | |
parent | d958af18d07bd4c01685f101a75c691c35a30089 (diff) | |
download | idutils-080106b3d8ae87d8851c489b32175b98e4978c4e.tar.gz idutils-080106b3d8ae87d8851c489b32175b98e4978c4e.tar.bz2 idutils-080106b3d8ae87d8851c489b32175b98e4978c4e.zip |
build: update from gnulib
* bootstrap: Update from gnulib.
* testsuite/init.sh: Update from gnulib.
* gnulib: Update to latest.
Diffstat (limited to 'testsuite/init.sh')
-rw-r--r-- | testsuite/init.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/testsuite/init.sh b/testsuite/init.sh index 512e876..7772736 100644 --- a/testsuite/init.sh +++ b/testsuite/init.sh @@ -21,11 +21,16 @@ # The typical skeleton of a test looks like this: # # #!/bin/sh -# : ${srcdir=.} -# . "$srcdir/init.sh"; path_prepend_ . +# . "${srcdir=.}/init.sh"; path_prepend_ . # Execute some commands. # Note that these commands are executed in a subdirectory, therefore you # need to prepend "../" to relative filenames in the build directory. +# Note that the "path_prepend_ ." is useful only if the body of your +# test invokes programs residing in the initial directory. +# For example, if the programs you want to test are in src/, and this test +# script is named tests/test-1, then you would use "path_prepend_ ../src", +# or perhaps export PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" +# to all tests via automake's TESTS_ENVIRONMENT. # Set the exit code 0 for success, 77 for skipped, or 1 or other for failure. # Use the skip_ and fail_ functions to print a diagnostic and then exit # with the corresponding exit code. |