← Commit list

30297a5b8

Denis Vlasenko
Denis Vlasenko
2007-11-26
FAILED Duration: 12s

Subject

fix vda's testsuite bogons, part 2

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

testsuite/cut.tests+18 -0
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# Copyright 2007 by Denys Vlasenko <[email protected]>
+# 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