mirror of
https://github.com/sheumann/hush.git
synced 2024-09-13 06:54:44 +00:00
15 lines
285 B
Plaintext
15 lines
285 B
Plaintext
|
#!/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
|