Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e22b2dc
)
b=22415 cut off the "*" mark at the end of digital string for quota usage when out...
author
Fan Yong
<Yong.Fan@sun.com>
Sun, 29 Aug 2010 16:28:44 +0000
(20:28 +0400)
committer
Mikhail Pershin
<tappro@sun.com>
Sun, 29 Aug 2010 19:40:44 +0000
(23:40 +0400)
cut off the "*" mark at the end of digital string for quota usage when out of quota.
i=grev
i=landen
lustre/tests/sanity-quota.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/sanity-quota.sh
b/lustre/tests/sanity-quota.sh
index
9b548cf
..
fb50169
100644
(file)
--- a/
lustre/tests/sanity-quota.sh
+++ b/
lustre/tests/sanity-quota.sh
@@
-267,7
+267,7
@@
getquota() {
[ "$uuid" = "global" ] && uuid=$DIR
- $LFS quota -v "$1" "$2" $DIR | awk 'BEGIN { num='$spec' } { if ($1 == "'$uuid'") { if (NF == 1) { getline } else { num++ } ; print $num;} }'
+ $LFS quota -v "$1" "$2" $DIR | awk 'BEGIN { num='$spec' } { if ($1 == "'$uuid'") { if (NF == 1) { getline } else { num++ } ; print $num;} }'
| tr -d "*"
}
quota_show_check() {