src/tests: clean up duplicate code
This commit is contained in:
@@ -8,14 +8,7 @@
|
||||
#
|
||||
# It just sends the offending output to mosh and expects it to not die.
|
||||
|
||||
fail()
|
||||
{
|
||||
printf "$@" 2>&1
|
||||
exit 99
|
||||
}
|
||||
|
||||
|
||||
|
||||
. $(dirname $0)/e2e-test-subrs
|
||||
PATH=$PATH:.:$srcdir
|
||||
# Top-level wrapper.
|
||||
if [ $# -eq 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user