blob: ca0e511c11b8eecb8340cb1f6e7e94d157da5dae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
# Copyright 2009 by Denys Vlasenko
# Licensed under GPL v2, see file LICENSE for details.
. ./testing.sh
# testing "test name" "options" "expected result" "file input" "stdin"
testing "fold -s" "fold -w 7 -s" \
"123456\n\t\nasdf" \
"" \
"123456\tasdf" \
exit $FAILCOUNT
|