1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 13:16:47 +00:00

Optimize automated testing

This commit is contained in:
Tw93
2025-12-06 00:18:57 +08:00
parent 3561f088c4
commit 5c20db60af
4 changed files with 45 additions and 19 deletions

View File

@@ -32,6 +32,7 @@ setup() {
run bash --noprofile --norc -c '
set -euo pipefail
PATH="/usr/bin:/bin"
unset MO_TIMEOUT_INITIALIZED MO_TIMEOUT_BIN
source "'"$PROJECT_ROOT"'/lib/core/common.sh"
run_with_timeout 1 sleep 0.1
'
@@ -42,6 +43,7 @@ setup() {
run bash --noprofile --norc -c '
set -euo pipefail
PATH="/usr/bin:/bin"
unset MO_TIMEOUT_INITIALIZED MO_TIMEOUT_BIN
source "'"$PROJECT_ROOT"'/lib/core/common.sh"
run_with_timeout 1 sleep 5
'