find:: get rid of nested function (it's a gcc-ism)
[oweals/busybox.git] / testsuite / readlink.tests
old mode 100644 (file)
new mode 100755 (executable)
index fc04702..c7fc8ad
@@ -2,9 +2,9 @@
 
 # Readlink tests.
 # Copyright 2006 by Natanael Copa <n@tanael.org>
-# Licensed under GPL v2, see file LICENSE for details.
+# Licensed under GPLv2, see file LICENSE in this source tree.
 
-. testing.sh
+. ./testing.sh
 
 TESTDIR=readlink_testdir
 TESTFILE="$TESTDIR/testfile"
@@ -28,5 +28,6 @@ testing "readlink -f on a wierd dir" "readlink -f $TESTDIR/../$TESTFILE" "$PWD/$
 
 
 # clean up
-rm -r "$TESTLINK" "$TESTDIR" 
+rm -r "$TESTLINK" "$TESTDIR"
 
+exit $((FAILCOUNT <= 255 ? FAILCOUNT : 255))