Skip to content

feat(test62): détection exhaustive des commandes en doublon#31

Merged
HugoAnler merged 1 commit intoUpdatefrom
claude/test-duplicate-commands-U4wS7
Apr 9, 2026
Merged

feat(test62): détection exhaustive des commandes en doublon#31
HugoAnler merged 1 commit intoUpdatefrom
claude/test-duplicate-commands-U4wS7

Conversation

@HugoAnler
Copy link
Copy Markdown
Owner

Nouveau test 62 dans validate_bat.py — vérifie qu'aucune commande n'est dupliquée dans win11-setup.bat avec précision maximale :

[REG] reg add/delete → (opération × chemin clé × nom valeur)
[SC] sc stop/config/failure → (opération × nom service)
[TASK] schtasks /Change /TN → nom de tâche normalisé
[HOSTS] echo 0.0.0.0/127.0.0.1 → domaine bloqué
[DEL] del → chemin de fichier normalisé

Exclusions précises : variables de boucle batch (%%VAR/%%VAR%), lignes echo pour reg/sc/del, double-comptage /Query+/Change sur même ligne (set de TN par ligne).

Corrections win11-setup.bat — 3 doublons reg add supprimés :

  • Section 6 : AllowCloudSearch (couvert en section 8)
  • Section 6 : DisableTailoredExperiencesWithDiagnosticData HKLM (couvert en section 11)
  • Section 11b : DisableTailoredExperiencesWithDiagnosticData HKCU (doublon Spotlight)

Workflow : 59 → 60 tests

Nouveau test 62 dans validate_bat.py — vérifie qu'aucune commande
n'est dupliquée dans win11-setup.bat avec précision maximale :

  [REG]   reg add/delete → (opération × chemin clé × nom valeur)
  [SC]    sc stop/config/failure → (opération × nom service)
  [TASK]  schtasks /Change /TN → nom de tâche normalisé
  [HOSTS] echo 0.0.0.0/127.0.0.1 → domaine bloqué
  [DEL]   del → chemin de fichier normalisé

Exclusions précises : variables de boucle batch (%%VAR/%%VAR%),
lignes echo pour reg/sc/del, double-comptage /Query+/Change sur
même ligne (set de TN par ligne).

Corrections win11-setup.bat — 3 doublons reg add supprimés :
  - Section 6 : AllowCloudSearch (couvert en section 8)
  - Section 6 : DisableTailoredExperiencesWithDiagnosticData HKLM (couvert en section 11)
  - Section 11b : DisableTailoredExperiencesWithDiagnosticData HKCU (doublon Spotlight)

Workflow : 59 → 60 tests
@HugoAnler HugoAnler merged commit 80b4d7d into Update Apr 9, 2026
1 check passed
@HugoAnler HugoAnler deleted the claude/test-duplicate-commands-U4wS7 branch April 9, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants