From 6c36ae1293d94724302c6e59e62fe45a98af5961 Mon Sep 17 00:00:00 2001 From: Wolfgang Hoschek Date: Tue, 7 Jan 2025 15:07:29 +0100 Subject: [PATCH] test with disabled hardware NIC features Signed-off-by: Wolfgang Hoschek --- .github-workflow-scripts/test_freebsd_13_3.sh | 8 ++++++++ .github-workflow-scripts/test_freebsd_14_1.sh | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/.github-workflow-scripts/test_freebsd_13_3.sh b/.github-workflow-scripts/test_freebsd_13_3.sh index 4b37621d..485bda75 100755 --- a/.github-workflow-scripts/test_freebsd_13_3.sh +++ b/.github-workflow-scripts/test_freebsd_13_3.sh @@ -34,6 +34,14 @@ cat $HOME/.ssh/testid_rsa.pub >> $HOME/.ssh/authorized_keys ls -al $HOME $HOME/.ssh/testid_rsa chsh -s /bin/sh # change shell as default shell on freebsd <= 13 is csh instead of sh + +echo before ifconfig change +ifconfig -m +ifconfig em0 -rxcsum -txcsum -tso4 -tso6 -lro -rxcsum6 -txcsum6 -vlanhwcsum -vlanhwtso -vlanhwfilter +ifconfig lo0 -rxcsum -txcsum +echo after ifconfig change +ifconfig -m + echo "Now running tests as root user"; ./test.sh echo "Now running coverage"; ./coverage.sh diff --git a/.github-workflow-scripts/test_freebsd_14_1.sh b/.github-workflow-scripts/test_freebsd_14_1.sh index 1b80b470..b09fe7d3 100755 --- a/.github-workflow-scripts/test_freebsd_14_1.sh +++ b/.github-workflow-scripts/test_freebsd_14_1.sh @@ -33,6 +33,13 @@ ssh-keygen -t rsa -f $HOME/.ssh/testid_rsa -q -N "" # create private key and pu cat $HOME/.ssh/testid_rsa.pub >> $HOME/.ssh/authorized_keys ls -al $HOME $HOME/.ssh/testid_rsa +echo before ifconfig change +ifconfig -m +ifconfig em0 -rxcsum -txcsum -tso4 -tso6 -lro -rxcsum6 -txcsum6 -vlanhwcsum -vlanhwtso -vlanhwfilter +ifconfig lo0 -rxcsum -txcsum +echo after ifconfig change +ifconfig -m + echo "Now running tests as root user"; ./test.sh echo "Now running coverage"; ./coverage.sh