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
30
30
exit " $KSFT_SKIP "
31
31
fi
32
32
33
+ declare -a optargs
34
+ if [[ -n " ${KSFT_MACHINE_SLOW} " ]]; then
35
+ optargs+=(' --tolerance_usecs=14000' )
36
+ fi
37
+
33
38
ktap_print_header
34
39
ktap_set_plan 2
35
40
36
- unshare -n packetdrill ${ipv4_args[@]} $( basename $script ) > /dev/null \
41
+ unshare -n packetdrill ${ipv4_args[@]} ${optargs[@]} $ ( basename $script ) > /dev/null \
37
42
&& 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 \
39
44
&& ktap_test_pass " ipv6" || ktap_test_fail " ipv6"
40
45
41
46
ktap_finished
You can’t perform that action at this time.
0 commit comments