Line | |
---|
1 | BEGIN {
|
---|
2 | FS = "@";
|
---|
3 | printf ("failures=0\n");
|
---|
4 | }
|
---|
5 |
|
---|
6 | $0 !~ /^#/ && NF == 3 {
|
---|
7 | # printf ("status=`echo '%s'| { ${GREP} -E -e '%s' > /dev/null 2>&1; echo $?; cat >/dev/null; }`\n",$3, $2);
|
---|
8 | printf ("status=`echo '%s'| { ${GREP} -E -e '%s' >/dev/null 2>&1 ; echo $?; }`\n",$3, $2);
|
---|
9 | printf ("if test $status -ne %s ; then\n", $1);
|
---|
10 | printf ("\techo Spencer test \\#%d failed\n", ++n);
|
---|
11 | printf ("\tfailures=1\n");
|
---|
12 | printf ("fi\n");
|
---|
13 | }
|
---|
14 |
|
---|
15 | END { printf ("exit $failures\n"); }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.