fix vda's testsuite bogons, part 1
This commit is contained in:
parent
4e1e720523
commit
bd9a48bc9c
@ -1,19 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# grep tests.
|
|
||||||
# Copyright 2007 by Denys Vlasenko <vda.linux@googlemail.com>
|
|
||||||
# Licensed under GPL v2, see file LICENSE for details.
|
|
||||||
|
|
||||||
. testing.sh
|
|
||||||
|
|
||||||
# testing "test name" "options" "expected result" "file input" "stdin"
|
|
||||||
# file input will be file called "input"
|
|
||||||
# test can create a file "actual" instead of writing to stdout
|
|
||||||
|
|
||||||
testing "cut '-' (stdin) and multi file handling" \
|
|
||||||
"cut -d' ' -f2 - input" \
|
|
||||||
"over\n""quick\n" \
|
|
||||||
"the quick brown fox\n" \
|
|
||||||
"jumps over the lazy dog\n" \
|
|
||||||
|
|
||||||
exit $FAILCOUNT
|
|
@ -1,6 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# grep tests.
|
|
||||||
# Copyright 2005 by Rob Landley <rob@landley.net>
|
# Copyright 2005 by Rob Landley <rob@landley.net>
|
||||||
# Licensed under GPL v2, see file LICENSE for details.
|
# Licensed under GPL v2, see file LICENSE for details.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user