Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-1213 tests: remove duplicate parallel-scale variables
[fs/lustre-release.git]
/
lustre
/
tests
/
mdsrate-create-large.sh
diff --git
a/lustre/tests/mdsrate-create-large.sh
b/lustre/tests/mdsrate-create-large.sh
index
aa99a1c
..
07b04e5
100644
(file)
--- a/
lustre/tests/mdsrate-create-large.sh
+++ b/
lustre/tests/mdsrate-create-large.sh
@@
-68,7
+68,7
@@
else
log "===== $0 ### 1 NODE UNLINK ###"
if [ -f "$LOG" ]; then
log "===== $0 ### 1 NODE UNLINK ###"
if [ -f "$LOG" ]; then
- CREATED=$(
awk '/total:/ { print $7 }
' $LOG)
+ CREATED=$(
sed -n '/^Rate:/s/^.* \([0-9]*\) creates .*/\1/p
' $LOG)
[ $CREATED -gt 0 ] && NUM_FILES=$CREATED
fi
[ $CREATED -gt 0 ] && NUM_FILES=$CREATED
fi
@@
-111,7
+111,7
@@
else
log "===== $0 ### $NUM_CLIENTS NODES UNLINK ###"
if [ -f "$LOG" ]; then
log "===== $0 ### $NUM_CLIENTS NODES UNLINK ###"
if [ -f "$LOG" ]; then
- CREATED=$(
awk '/total:/ { print $7 }
' $LOG)
+ CREATED=$(
sed -n '/^Rate:/s/^.* \([0-9]*\) creates .*/\1/p
' $LOG)
[ $CREATED -gt 0 ] && NUM_FILES=$CREATED
fi
[ $CREATED -gt 0 ] && NUM_FILES=$CREATED
fi