Whamcloud - gitweb
b=22415 cut off the "*" mark at the end of digital string for quota usage when out...
[fs/lustre-release.git] / lustre / tests / sanity-quota.sh
index 9b548cf..fb50169 100644 (file)
@@ -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() {