mirror of
https://git.busybox.net/busybox
synced 2026-02-07 20:50:26 +00:00
The source command does not search $PWD, and bash recently fixed itself to follow this behavior for /bin/sh. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 lines
287 B
Bash
Executable file
14 lines
287 B
Bash
Executable file
#!/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
|