# pynfs使用教程 #
## 1.如何下载, 编译安装,配置和使用 ##
###安装 ###
$yum install python-devel
$ln -s /usr/bin/python2 /usr/bin/python
$./setup.py build
###使用###
如果从文件根目录使用必须先执行
$./setup.py build_ext --inplace
或者直接进入文件目录运行
./testserver.py SERVER:/PATH [options] [flags] [testcode]
首先执行,
./testserver.py SERVER:/PATH --maketree
##2参数解析
###option参数###
all : run all standard tests (defaults to running none)
--rundeps : run dependencies even if not specifically requested on command line
--maketree : will (re)create the test tree. Ie it will create and populate
the directories /PATH/tmp and /PATH/tree
-o, --outfile : will save results into given file.
results can then be examined using ./showresults.py FILE
--showflags : will show a list of available flags
-v : show test status as they are
pynfs简单使用
最新推荐文章于 2025-01-20 09:10:17 发布