* ONNODE=onnode-buggy-001 ./run_tests.sh -s
- Run against bin/onnode-buggy-001 instead of default onnode version.
+ Run against stubs/onnode-buggy-001 instead of default onnode version.
Add more buggy versions of onnode to this directory as bugs are
fixed to enable test validation using this feature.
Run only the specified tests.
-* ONNODE="bash -x bin/onnode-buggy-001" ./run_tests.sh ./0090.sh
+* ONNODE="bash -x stubs/onnode-buggy-001" ./run_tests.sh ./0090.sh
ONNODE="bash -x ../../tools/onnode" ./run_tests.sh ./0090.sh
Debug the specified test or test failure. The test will fail
# Default to just "onnode".
: ${ONNODE:=onnode}
-# Augment PATH with relevant bin/ directories.
+# Augment PATH with relevant stubs/ directories.
-if [ -d "${ONNODE_TESTS_DIR}/bin" ] ; then
- PATH="${ONNODE_TESTS_DIR}/bin:$PATH"
+if [ -d "${ONNODE_TESTS_DIR}/stubs" ] ; then
+ PATH="${ONNODE_TESTS_DIR}/stubs:$PATH"
fi
export ONNODE_TESTCASE_DIR=$(dirname "$0")
# Just a test script, no testcase subdirectory.
ONNODE_TESTCASE_DIR="$ONNODE_TESTS_DIR"
else
- if [ -d "${ONNODE_TESTCASE_DIR}/bin" ] ; then
- PATH="${ONNODE_TESTCASE_DIR}/bin:$PATH"
+ if [ -d "${ONNODE_TESTCASE_DIR}/stubs" ] ; then
+ PATH="${ONNODE_TESTCASE_DIR}/stubs:$PATH"
fi
fi