maint: make our use of gnulib's init.sh conform
authorJim Meyering <meyering@redhat.com>
Sat, 23 Oct 2010 07:09:44 +0000 (09:09 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 23 Oct 2010 07:44:22 +0000 (09:44 +0200)
* tests/help-version: Make use of init.sh conform.
* tests/helin-segv: Likewise.
* tests/help-version: Likewise.
* tests/hufts: Likewise.
* tests/memcpy-abuse: Likewise.
* tests/mixed: Likewise.
* tests/null-suffix-clobber: Likewise.
* tests/stdin: Likewise.
* tests/trailing-nul: Likewise.
* tests/zdiff: Likewise.
* tests/zgrep-f: Likewise.
* tests/zgrep-signal: Likewise.
* tests/znew-k: Likewise.

12 files changed:
tests/helin-segv
tests/help-version
tests/hufts
tests/memcpy-abuse
tests/mixed
tests/null-suffix-clobber
tests/stdin
tests/trailing-nul
tests/zdiff
tests/zgrep-f
tests/zgrep-signal
tests/znew-k

index d0f8567f156bd215acdf909e1253b7df3d64a2e5..ed0ebfac173203f225062e8732c42a5cf6e9a8c8 100755 (executable)
@@ -17,8 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # limit so don't run it by default.
 
-: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ ..
+. "${srcdir=.}/init.sh"; path_prepend_ ..
 
 # This test case was provided by Aki Helin.
 printf '\037\235\220\0\0\0\304' > helin.gz || framework_failure_
index 5d73f5da516fec9019c80c3b15548e4d5fc43429..9fb31276f40cd2bfcfab2de1ae3126df68f480ce 100755 (executable)
@@ -23,8 +23,7 @@
 test "x$SHELL" = x && SHELL=/bin/sh
 export SHELL
 
-: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ ..
+. "${srcdir=.}/init.sh"; path_prepend_ ..
 
 expected_failure_status_chroot=125
 expected_failure_status_env=125
index dc895af6bcc62d398318740dafcc840bbbf96c35..ac0dc8e6c92cd82b52028cd4efa1065dc9d6257b 100755 (executable)
@@ -17,8 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # limit so don't run it by default.
 
-: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ ..
+. "${srcdir=.}/init.sh"; path_prepend_ ..
 
 printf '\n...: invalid compressed data--format violated\n' > exp \
   || framework_failure_
index 5d2256a376ed967f4db372131ee0d8a0cf2a9421..601ac3deafe55af84cb5351d150ef1ea0764fc9b 100755 (executable)
@@ -18,8 +18,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # limit so don't run it by default.
 
-: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ ..
+. "${srcdir=.}/init.sh"; path_prepend_ ..
 
 # The input must be larger than 32KiB and slightly
 # less uniform than e.g., all zeros.
index c3775c80efb7cee1697a35d9c6ccfec333310ae4..7a0973b35368f121b8b7bdc1e8a1f0186ceddb9c 100644 (file)
@@ -18,8 +18,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # limit so don't run it by default.
 
-: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ ..
+. "${srcdir=.}/init.sh"; path_prepend_ ..
 
 printf 'xxx\nyyy\n'      > exp2 || framework_failure_
 printf 'aaa\nbbb\nccc\n' > exp3 || framework_failure_
index 36cd9b48a181c504fba5dc73bf3fe90a7595062c..0fa719134cd8ed5ebbf4a0b8c37ae542612bb1a1 100755 (executable)
@@ -17,8 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # limit so don't run it by default.
 
-: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ ..
+. "${srcdir=.}/init.sh"; path_prepend_ ..
 
 printf anything | gzip > F.gz || framework_failure_
 echo y > yes || framework_failure_
index c7459c60e8edbd12e6d6d6a507e794d097ba5d93..2f41a8ca8cbcfcaa413c6607b7d908091e6f26aa 100755 (executable)
@@ -17,8 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # limit so don't run it by default.
 
-: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ ..
+. "${srcdir=.}/init.sh"; path_prepend_ ..
 
 printf a | gzip > in || framework_failure_
 printf aaa > exp || framework_failure_
index 63bae481b01a9b0002d057ae42eb9b187cfae112..ac44794a1f6738bb7b600fc05ed982811c7a1645 100755 (executable)
@@ -18,8 +18,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # limit so don't run it by default.
 
-: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ ..
+. "${srcdir=.}/init.sh"; path_prepend_ ..
 
 (echo 0 | gzip; printf '\0') > 0.gz || framework_failure_
 (echo 00 | gzip; printf '\0\0') > 00.gz || framework_failure_
index 505b93ffb596f73fb177bf3ea12512caa3ab8aba..b4e6f02b268a4cfb58f25cdf694cecccad81d1e3 100755 (executable)
@@ -18,8 +18,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # limit so don't run it by default.
 
-: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ ..
+. "${srcdir=.}/init.sh"; path_prepend_ ..
 
 echo a > a || framework_failure_
 echo b > b || framework_failure_
index cf4b602f11b473a3b6db9e9799b0b2353949443d..ba76bfd9714dd7e4f7a5136247fd0e508e320291 100644 (file)
@@ -18,8 +18,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # limit so don't run it by default.
 
-: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ ..
+. "${srcdir=.}/init.sh"; path_prepend_ ..
 
 require_POSIX_grep_
 
index d861a01695f5aaabf62178fdb469bdd4d97ee474..d9d3ff20fdbc6396bb53349d314596c245bd1ef0 100644 (file)
@@ -18,8 +18,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # limit so don't run it by default.
 
-: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ ..
+. "${srcdir=.}/init.sh"; path_prepend_ ..
 
 echo a | gzip -c > f.gz || framework_failure_
 
index e7ca443bd2c41eb7ac1d17dbfaf898e7cd836c9d..67bb82e825fa754c7092e052b84116e4a8719f5b 100644 (file)
@@ -17,8 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # limit so don't run it by default.
 
-: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ ..
+. "${srcdir=.}/init.sh"; path_prepend_ ..
 
 cat <<'EOF' >compress || framework_failure_
 #!/bin/sh