Whamcloud - gitweb
LU-15996 quota: change 'none' to 'expired' for grace
[fs/lustre-release.git] / lustre / tests / sanity-quota.sh
index dd3e94e..3d8c5aa 100755 (executable)
@@ -394,7 +394,7 @@ wait_grace_time() {
        echo "Sleep through grace ..."
        [ "$orig_time" == "-" ] &&
            error "Grace timeout was not set or quota not exceeded"
-       if [ "$orig_time" == "none" ]; then
+       if [ "$orig_time" == "expired" -o "$orig_time" == "none" ]; then
            echo "...Grace timeout already expired"
        else
                let sleep_seconds+=$extrasleep