From e7d0cdc061ade9e324fc02be61a36b0c6f52874f Mon Sep 17 00:00:00 2001 From: Graham Bloice Date: Fri, 2 Jan 2015 13:12:17 +0000 Subject: Fix lua tests on Windows Convert TEST_DIR path to a Windows path, this is used in all the lua tests. Fix a typo Change-Id: I38808822c998ed1df007732b3701b6b13d6c886b Reviewed-on: https://code.wireshark.org/review/6235 Reviewed-by: Graham Bloice Reviewed-by: Hadriel Kaplan --- test/suite-unittests.sh | 2 +- test/test.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/suite-unittests.sh b/test/suite-unittests.sh index 83c44bedc3..864f5a30b6 100755 --- a/test/suite-unittests.sh +++ b/test/suite-unittests.sh @@ -64,7 +64,7 @@ set_dut() { if [ "$SOURCE_DIR" = "$WS_BIN_PATH" -o "$WS_SYSTEM" = "Windows" ]; then DUT=$SOURCE_DIR/epan/$1 else - # In out-of-tree builds, all bianries end up in the same folder + # In out-of-tree builds, all binaries end up in the same folder # regardless of their path during in-tree builds, so we strip # off any prefix part of the path (such as wmem/ for wmem_test) DUT=$WS_BIN_PATH/${1##*/} diff --git a/test/test.sh b/test/test.sh index 1a542a5043..c7a2ac1d5c 100755 --- a/test/test.sh +++ b/test/test.sh @@ -90,6 +90,7 @@ if [ "$WS_SYSTEM" == "Windows" ] ; then HOME_PATH="`cygpath -w $HOME_PATH`" CONF_PATH="$HOME_PATH/Wireshark" CAPTURE_DIR="`cygpath -w $CAPTURE_DIR`" + TESTS_DIR="`cygpath -w $TESTS_DIR`" fi mkdir -p $CONF_PATH -- cgit v1.2.1