Last change
on this file since 3428 was 1765, checked in by Bruno Cornec, 17 years ago |
Update to busybox 1.7.2
|
-
Property svn:executable
set to
*
|
File size:
818 bytes
|
Rev | Line | |
---|
[1765] | 1 | #!/bin/sh
|
---|
| 2 |
|
---|
| 3 | # awk tests.
|
---|
| 4 | # Copyright 2007 by Denys Vlasenko <vda.linux@googlemail.com>
|
---|
| 5 | # Licensed under GPL v2, see file LICENSE for details.
|
---|
| 6 |
|
---|
| 7 | . testing.sh
|
---|
| 8 |
|
---|
| 9 | # testing "description" "arguments" "result" "infile" "stdin"
|
---|
| 10 |
|
---|
| 11 | testing "awk -F case 0" "awk -F '[#]' '{ print NF }'" "" "" ""
|
---|
| 12 | testing "awk -F case 1" "awk -F '[#]' '{ print NF }'" "0\n" "" "\n"
|
---|
| 13 | testing "awk -F case 2" "awk -F '[#]' '{ print NF }'" "2\n" "" "#\n"
|
---|
| 14 | testing "awk -F case 3" "awk -F '[#]' '{ print NF }'" "3\n" "" "#abc#\n"
|
---|
| 15 | testing "awk -F case 4" "awk -F '[#]' '{ print NF }'" "3\n" "" "#abc#zz\n"
|
---|
| 16 | testing "awk -F case 5" "awk -F '[#]' '{ print NF }'" "4\n" "" "#abc##zz\n"
|
---|
| 17 | testing "awk -F case 6" "awk -F '[#]' '{ print NF }'" "4\n" "" "z#abc##zz\n"
|
---|
| 18 | testing "awk -F case 7" "awk -F '[#]' '{ print NF }'" "5\n" "" "z##abc##zz\n"
|
---|
| 19 |
|
---|
| 20 | exit $FAILCOUNT
|
---|
Note:
See
TracBrowser
for help on using the repository browser.