Jim Meyering
f38becab02
tests: convert first batch of tests from test-lib.sh to init.sh
...
Initially, I did this,
git grep -l srcdir/test-lib.sh|xargs perl -p0i -e '~180-byte script'
but that line would have been much longer than the maximum permitted
by coreutils' commit hook, and wasn't readable besides, so here's a
more readable version:
lhs=$(printf '%s\\n' \
'if test "$VERBOSE" = yes; then' \
' set -x' \
' touch --version' \
'fi' \
'' \
'. $srcdir/test-lib.sh' \
| sed 's/\$/\\\$/g;s/touch/(\\w+)/')
rhs=$(printf '%s\\n' \
'. "${srcdir=.}/init.sh"; path_prepend_ ../src' \
'test "$VERBOSE" = yes && FIXME --version' \
| sed 's/\$/\\\$/g;s/FIXME/\$1/')
git grep -l srcdir/test-lib.sh|xargs perl -p0i -e "s,$lhs,$rhs,"
2010-11-17 20:48:57 +01:00
..
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-11-10 22:08:05 +01:00
2010-11-11 01:40:12 +00:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-02-25 08:54:49 -07:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-05-26 11:33:53 +02:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-09-07 10:49:55 +01:00
2010-10-14 09:23:51 +02:00
2010-11-17 20:48:57 +01:00
2010-10-19 09:35:44 +02:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-05-23 18:10:41 +02:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:48 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-08-13 15:57:52 -07:00
2010-10-01 15:43:23 -06:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-05-31 10:59:11 +02:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-10-01 15:43:23 -06:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-10-04 16:54:22 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-10-01 15:43:23 -06:00
2010-11-06 18:09:44 -07:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-07-05 15:06:07 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-08-28 19:28:20 +02:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-05-31 10:59:11 +02:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-09-29 11:05:12 +01:00
2010-10-01 15:43:23 -06:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-05-31 10:59:11 +02:00
2010-05-31 10:59:11 +02:00
2010-01-01 14:06:47 +01:00
2010-11-17 20:48:57 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-03-29 08:28:51 +02:00
2010-01-01 14:06:47 +01:00