File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
tools/testing/selftests/net/packetdrill Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,17 @@ if [ -z "$(which packetdrill)" ]; then
3030 exit " $KSFT_SKIP "
3131fi
3232
33+ declare -a optargs
34+ if [[ -n " ${KSFT_MACHINE_SLOW} " ]]; then
35+ optargs+=(' --tolerance_usecs=14000' )
36+ fi
37+
3338ktap_print_header
3439ktap_set_plan 2
3540
36- unshare -n packetdrill ${ipv4_args[@]} $( basename $script ) > /dev/null \
41+ unshare -n packetdrill ${ipv4_args[@]} ${optargs[@]} $ ( basename $script ) > /dev/null \
3742 && ktap_test_pass " ipv4" || ktap_test_fail " ipv4"
38- unshare -n packetdrill ${ipv6_args[@]} $( basename $script ) > /dev/null \
43+ unshare -n packetdrill ${ipv6_args[@]} ${optargs[@]} $ ( basename $script ) > /dev/null \
3944 && ktap_test_pass " ipv6" || ktap_test_fail " ipv6"
4045
4146ktap_finished
You can’t perform that action at this time.
0 commit comments