#! /bin/sh
-# Copyright (C) 2005-2012 Free Software Foundation, Inc.
+# Copyright (C) 2005-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Long lines should be wrapped.
# Report from Albert Chin.
-. ./defs || Exit 1
+. test-init.sh
-n=1
-files=
-match=
+n=1 files= match=
while test $n -le 100
do
files="$files filename$n"
match="..........$match"
- n=`expr $n + 1`
+ n=$(($n + 1))
done
-files2=`echo "$files" | sed s/filename/filenameb/g`
+files2=$(echo "$files" | sed s/filename/filenameb/g)
cat >Makefile.am <<EOF
FOO = $files $files2 \
$ACLOCAL
$AUTOMAKE
-grep $match Makefile.in && Exit 1
+grep $match Makefile.in && exit 1
grep 'filenameb100 grepme' Makefile.in
+
+: