aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/find.tests22
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
10mkdir -p find.tempdir
11touch find.tempdir/testfile
12
13testing "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
20rm -rf find.tempdir
21
22exit $FAILCOUNT