Skip to content

Commit

Permalink
test(NFS): run either nfsv4 or nfsv3 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik66 committed Oct 31, 2023
1 parent a804945 commit b81d647
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/TEST-20-NFS/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,12 @@ test_run() {
return 1
fi

test_nfsv3 \
&& test_nfsv4
# run either nfsv4 or nfsv3 tests
if grep -q '\-nfs4' /etc/portage/package.use/nfs-utils 2> /dev/null; then
test_nfsv4
else
test_nfsv3
fi

ret=$?

Expand Down

0 comments on commit b81d647

Please sign in to comment.