scripts/nfstest_rplus.zsh

18 lines
420 B
Bash
Executable File

#!/bin/zsh -e
source common.zsh
zparseopts -F -K \
c:=CLIENT -client:=CLIENT \
-dmesg=DMESG -srvdmesg=SRVDMESG \
p:=MOUNTPOINT -mountpoint:=MOUNTPOINT \
s:=SERVER -server:=SERVER \
x:=EXPORT -export:=EXPORT
RUN_NFSTEST="run-nfstest-rplus.zsh"
prepare_to_test
ssh -t ${CLIENT[-1]} "$RUN_NFSTEST --server ${SERVER[-1]} \
--export ${EXPORT[-1]} \
--mountpoint ${MOUNTPOINT[-1]} \
--user $USER"