Skip to content

Commit

Permalink
server: Add first simple test for NFS server
Browse files Browse the repository at this point in the history
  • Loading branch information
wentasah committed Apr 26, 2022
1 parent 8d047b2 commit c146c63
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/server.wv
Original file line number Diff line number Diff line change
Expand Up @@ -288,4 +288,11 @@ WVPASS date --rfc-3339=ns > file
WVPASS rsync --rsync-path="rsync-nfsroot" file novaboot-test@localhost:
WVPASS sudo_ cat "$NBT_HOME"/nfsroot/test/file
WVSTART "get-config returns nfsroot configuration"
WVPASS sudo_ tee "$NBT_HOME/.novaboot-nfsroot" <<EOF
server_addr=127.0.0.1
allowed_clients=127.0.0.1
EOF
WVPASS ssh novaboot-test@localhost get-config
# Hi-lock: (("^.*\\(?:WVSTART\\).*$" (0 (quote hi-black-b) t)))

0 comments on commit c146c63

Please sign in to comment.