Skip to content

Commit

Permalink
test with disabled hardware NIC features
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfgang Hoschek <[email protected]>
  • Loading branch information
whoschek committed Jan 7, 2025
1 parent a8f2092 commit 6c36ae1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github-workflow-scripts/test_freebsd_13_3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 7 additions & 0 deletions .github-workflow-scripts/test_freebsd_14_1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6c36ae1

Please sign in to comment.