mirror of
https://oauth2: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@github.com/m1ngsama/TNT.git
synced 2026-06-26 06:54:38 +08:00
Relax private inbox unread count test
This commit is contained in:
parent
d7531f9305
commit
7ff9474a5d
1 changed files with 2 additions and 2 deletions
|
|
@ -288,9 +288,9 @@ fi
|
||||||
BOB_PID=""
|
BOB_PID=""
|
||||||
|
|
||||||
if grep -q '.*alice.*private lifecycle second' "$STATE_DIR/bob.log" &&
|
if grep -q '.*alice.*private lifecycle second' "$STATE_DIR/bob.log" &&
|
||||||
grep -q '2 新' "$STATE_DIR/bob.log" &&
|
grep -Eq '私信.*[0-9]+ 新' "$STATE_DIR/bob.log" &&
|
||||||
grep -q '\*.*alice.*private lifecycle second' "$STATE_DIR/bob.log" &&
|
grep -q '\*.*alice.*private lifecycle second' "$STATE_DIR/bob.log" &&
|
||||||
grep -q '1 新' "$STATE_DIR/alice.log" &&
|
grep -Eq '私信.*[0-9]+ 新' "$STATE_DIR/alice.log" &&
|
||||||
grep -q '\*.*bob.*private lifecycle reply' "$STATE_DIR/alice.log"; then
|
grep -q '\*.*bob.*private lifecycle reply' "$STATE_DIR/alice.log"; then
|
||||||
echo "✓ unread private messages are visibly marked in inbox"
|
echo "✓ unread private messages are visibly marked in inbox"
|
||||||
PASS=$((PASS + 1))
|
PASS=$((PASS + 1))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue