diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2014-01-09 16:07:11 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-01-09 16:08:09 +0100 |
commit | 6eb0cbe07e5c2f3131c2d6a5bafd83d2cac20f7d (patch) | |
tree | a1fcb5d74314262e2d2df51d20411e5a25f6a7ed /testsuite | |
parent | f0058b1b1fe9f7e69b415616096fb9347f599426 (diff) | |
download | busybox-w32-6eb0cbe07e5c2f3131c2d6a5bafd83d2cac20f7d.tar.gz busybox-w32-6eb0cbe07e5c2f3131c2d6a5bafd83d2cac20f7d.tar.bz2 busybox-w32-6eb0cbe07e5c2f3131c2d6a5bafd83d2cac20f7d.zip |
find: fix a regression introduced with -HLP support
function old new delta
find_main 294 342 +48
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/find.tests | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/find.tests b/testsuite/find.tests new file mode 100755 index 000000000..345d1e82e --- /dev/null +++ b/testsuite/find.tests | |||
@@ -0,0 +1,22 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # Copyright 2014 by Denys Vlasenko <vda.linux@googlemail.com> | ||
4 | # Licensed under GPLv2, see file LICENSE in this source tree. | ||
5 | |||
6 | . ./testing.sh | ||
7 | |||
8 | # testing "description" "command" "result" "infile" "stdin" | ||
9 | |||
10 | mkdir -p find.tempdir | ||
11 | touch find.tempdir/testfile | ||
12 | |||
13 | testing "find -type f" \ | ||
14 | "cd find.tempdir && find -type f 2>&1" \ | ||
15 | "./testfile\n" \ | ||
16 | "" "" | ||
17 | |||
18 | # testing "description" "command" "result" "infile" "stdin" | ||
19 | |||
20 | rm -rf find.tempdir | ||
21 | |||
22 | exit $FAILCOUNT | ||