From 6eb0cbe07e5c2f3131c2d6a5bafd83d2cac20f7d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 9 Jan 2014 16:07:11 +0100 Subject: find: fix a regression introduced with -HLP support function old new delta find_main 294 342 +48 Signed-off-by: Denys Vlasenko --- testsuite/find.tests | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 testsuite/find.tests (limited to 'testsuite') diff --git a/testsuite/find.tests b/testsuite/find.tests new file mode 100755 index 0000000..345d1e8 --- /dev/null +++ b/testsuite/find.tests @@ -0,0 +1,22 @@ +#!/bin/sh + +# Copyright 2014 by Denys Vlasenko +# 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 -- cgit v1.1