From 38b8a2623697187035b30aed4287ce8a960fe4c0 Mon Sep 17 00:00:00 2001 From: Aikar Date: Sat, 9 Apr 2016 21:46:09 -0400 Subject: [PATCH] Provide ability to wrap test server command for willies... --- scripts/testServer.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/testServer.sh b/scripts/testServer.sh index 27d0802149..e1c79f31ef 100755 --- a/scripts/testServer.sh +++ b/scripts/testServer.sh @@ -106,4 +106,8 @@ fi # START / LOG # -$cmd 2>&1 | tee -a ${PAPER_TEST_OUTPUT_LOG:-logs/output.log} +if [ ! -z "$PAPER_TEST_COMMAND_WRAPPER" ]; then + $PAPER_TEST_COMMAND_WRAPPER $cmd +else + $cmd 2>&1 | tee -a ${PAPER_TEST_OUTPUT_LOG:-logs/output.log} +fi