svn commit: trunk/busybox/testsuite
vda at busybox.net
vda at busybox.net
Mon Nov 26 07:23:27 UTC 2007
Author: vda
Date: 2007-11-25 23:23:27 -0800 (Sun, 25 Nov 2007)
New Revision: 20541
Log:
fix vda's testsuite bogons, part 2
Added:
trunk/busybox/testsuite/cut.tests
Changeset:
Added: trunk/busybox/testsuite/cut.tests
===================================================================
--- trunk/busybox/testsuite/cut.tests (rev 0)
+++ trunk/busybox/testsuite/cut.tests 2007-11-26 07:23:27 UTC (rev 20541)
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# Copyright 2007 by Denys Vlasenko <vda.linux at googlemail.com>
+# Licensed under GPL v2, see file LICENSE for details.
+
+. testing.sh
+
+# testing "test name" "options" "expected result" "file input" "stdin"
+# file input will be file called "input"
+# test can create a file "actual" instead of writing to stdout
+
+testing "cut '-' (stdin) and multi file handling" \
+ "cut -d' ' -f2 - input" \
+ "over\n""quick\n" \
+ "the quick brown fox\n" \
+ "jumps over the lazy dog\n" \
+
+exit $FAILCOUNT
Property changes on: trunk/busybox/testsuite/cut.tests
___________________________________________________________________
Name: svn:executable
+ *
More information about the busybox-cvs
mailing list