Workflow CI/CD finalisé et tests BATS (43/43 tests passent)
All checks were successful
Tests et Vérifications / Tests unitaires BATS (push) Successful in 15s
Tests et Vérifications / Vérification ShellCheck (push) Successful in 8s
Tests et Vérifications / Vérification syntaxe Bash (push) Successful in 3s
Tests et Vérifications / Résumé des tests (push) Successful in 1s

- Workflow simplifié: déclenchement main + manuel
- Retrait sudo pour compatibilité container Docker
- Tests robustes sans dépendance ZFS (43 tests)
- Suppression fixtures et uploads inutiles
- Création automatique répertoires STATE_DIR
This commit is contained in:
Tellsanguis 2025-12-29 13:11:37 +01:00
parent e912d39f91
commit d5a0429d2c
6 changed files with 234 additions and 276 deletions

View file

@ -231,6 +231,7 @@ create_disk_uuid_file() {
local pool="$1"
local uuid="${2:-wwn-0x5000cca2dfe2e414}"
mkdir -p "${STATE_DIR}"
cat > "${STATE_DIR}/disk-uuids-${pool}.txt" <<EOF
initialized=true
timestamp=2024-12-29_14:00:00
@ -246,6 +247,7 @@ create_critical_error_file() {
local pool="$1"
local epoch="${2:-${TEST_CURRENT_EPOCH:-1735481400}}"
mkdir -p "${STATE_DIR}"
cat > "${STATE_DIR}/critical-errors-${pool}.txt" <<EOF
timestamp=2024-12-29_14:00:00
epoch=${epoch}