Skip to content

avekceeb/nfsverificator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFS Server tests

Based on github.com/vmware/go-nfs-client using github.com/rasky/go-xdr/xdr2

Quick Start

Installation

Install golang

Install Ginkgo

go get github.com/onsi/ginkgo/ginkgo
# TODO: this is no longer needed
go get github.com/onsi/gomega/...
cd ${GOPATH}/src/github.com/onsi/ginkgo/ginkgo
go install
export PATH=${PATH}:${GOPATH}/bin

Run Tests

# run all tests using config.json
make
# run only SuperTest (pattern) from v41 suite
make focus="SuperTest" v41
make skip="BUG"
# use another config
make config="/path/to/custom.json"
# override settings
make server="nfs.my.org" export="/share" trace="true"

Features To Be Done

  • receive CallBacks (at least CB_NULL)
  • select secure/insecure port
  • config: provide user
  • multi-server
  • config: provide server reboot command
  • option to run test on every share provided by default server (exported with different options)
  • various UTF8 data
  • check if NFS4ERR_GRACE before suite?
  • coverage (or at least nfsstat)
  • config entries for refer option
  • option to set Tag
  • trace: print crc32 for fh
  • trace: print Ops in compound as in Wireshark: PUTFH | OPEN | etc print Statuses as Strings
  • trace: redirect to stderr
  • trace: print client id in header
  • wipe out inUnion from spew::dump
  • most common compounds: PUTFH;OPEN;GETFH;ACCESS;GETATTR
  • GrabOpenStateId
  • get rid of common/log
  • NFS v3

About

NFS Test Suite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages