Contents of /trunk/mkinitrd-magellan/busybox/testsuite/comm.tests
Parent Directory | Revision Log
Revision 984 -
(show annotations)
(download)
Sun May 30 11:32:42 2010 UTC (14 years, 4 months ago) by niro
File size: 1061 byte(s)
Sun May 30 11:32:42 2010 UTC (14 years, 4 months ago) by niro
File size: 1061 byte(s)
-updated to busybox-1.16.1 and enabled blkid/uuid support in default config
1 | #!/bin/sh |
2 | |
3 | # Copyright 2008 by Denys Vlasenko <vda.linux@googlemail.com> |
4 | # Licensed under GPL v2, see file LICENSE for details. |
5 | |
6 | . ./testing.sh |
7 | |
8 | # testing "description" "command" "result" "infile" "stdin" |
9 | |
10 | testing "comm test 1" "comm input -" "\t123\n""456\n""abc\n""\tdef\n" "456\nabc\n" "123\ndef\n" |
11 | testing "comm test 2" "comm - input" "123\n""\t456\n""\tabc\n""def\n" "456\nabc\n" "123\ndef\n" |
12 | testing "comm test 3" "comm input -" "abc\n""\tdef\n""xyz\n" "abc\nxyz\n" "def\n" |
13 | testing "comm test 4" "comm - input" "\tabc\n""def\n""\txyz\n" "abc\nxyz\n" "def\n" |
14 | testing "comm test 5" "comm input -" "123\n""abc\n""\tdef\n" "123\nabc\n" "def\n" |
15 | testing "comm test 6" "comm - input" "\t123\n""\tabc\n""def\n" "123\nabc\n" "def\n" |
16 | testing "comm unterminated line 1" "comm input -" "abc\n""\tdef\n" "abc" "def" |
17 | testing "comm unterminated line 2" "comm - input" "\tabc\n""def\n" "abc" "def" |
18 | |
19 | exit $FAILCOUNT |