diff options
author | Keith Bostic <keith@wiredtiger.com> | 2012-07-07 08:42:24 +0000 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2012-07-07 08:42:24 +0000 |
commit | 38309317328974e1bbca1b87fda32fc05d63105b (patch) | |
tree | 5131aaa886ba1bb21e9c3f73f65e9e9c400f30f1 /dist/s_longlines | |
parent | 722a39eb6ccdc0be57bca9e816bdc3e3a9c4e627 (diff) | |
download | mongo-38309317328974e1bbca1b87fda32fc05d63105b.tar.gz |
Expand test for long lines.
Diffstat (limited to 'dist/s_longlines')
-rw-r--r-- | dist/s_longlines | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/dist/s_longlines b/dist/s_longlines index f5970cda544..ffe6b741bef 100644 --- a/dist/s_longlines +++ b/dist/s_longlines @@ -4,13 +4,12 @@ t=__wt.$$ trap 'rm -f $t; exit 0' 0 1 2 3 13 15 -l=`(sed -e '/^[a-z]/! d' -e 's,^,../,' filelist ; - ls ../examples/c/*.c \ - ../src/include/*.[hi] \ - ../src/include/*.in; - find ../test -name '*.[ch]' -print) | egrep -v 'support/stat\.c$'` +l=`(cd .. && + find examples ext src test -name '*.[chisy]' && + find src -name '*.in') | + grep -v 'support/stat\.c'` for f in $l ; do - expand -t8 < $f | awk -- \ + expand -t8 < ../$f | awk -- \ "{if(length(\$0) > 80) printf(\"%s:%d\\n\", \"$f\", NR)}" done |