File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ INITIALIZE=0
3131REMOVE=0
3232BINARY=` which fio`
3333DIRECTORY=" /domain0/fiotest"
34+ DIRECTORY=` pwd` /workdir
3435OUTPUT=" ."
3536TESTS=" all"
3637SECS=" 60"
@@ -96,12 +97,13 @@ OPTIONS:
9697 -r raw_device use raw device instead of file, multi devices colon separated
9798
9899 example
99- fio.sh ./fio.opensolaris /domain0/fiotest -t rand_read -s 10 -m 1000 -f
100+ fio.sh ./fio.opensolaris /domain0/fiotest -t randread -s 10 -m 1000 -f
100101EOF
101102}
102103
103- while getopts hz:ycb:nr:xe:d:o:it:s:l:u:m:f OPTION
104+ while getopts hz:ycb:nr:xe:d:w: o:it:s:l:u:m:f OPTION
104105do
106+ echo " ops $OPTION "
105107 case $OPTION in
106108 h)
107109 usage
112114 ;;
113115 w)
114116 DIRECTORY=$OPTARG
117+ echo " DIRECTORY=$OPTARG "
115118 ;;
116119 o)
117120 OUTPUT=$OPTARG
@@ -781,3 +784,4 @@ if [ $REMOVE == 1 ] && [ $RAW == 0 ] ; then # {
781784fi # }
782785./fioparse.sh $OUTPUT /* out > $OUTPUT /fio_summary.out
783786cat $OUTPUT /fio_summary.out
787+
You can’t perform that action at this time.
0 commit comments