summaryrefslogtreecommitdiffhomepage
path: root/testsuite/find.tests
blob: 345d1e82e1afe278fce7dbcfd822e25800fb6ccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# Copyright 2014 by Denys Vlasenko <vda.linux@googlemail.com>
# Licensed under GPLv2, see file LICENSE in this source tree.

. ./testing.sh

# testing "description" "command" "result" "infile" "stdin"

mkdir -p find.tempdir
touch find.tempdir/testfile

testing "find -type f" \
	"cd find.tempdir && find -type f 2>&1" \
	"./testfile\n" \
	"" ""

# testing "description" "command" "result" "infile" "stdin"

rm -rf find.tempdir

exit $FAILCOUNT