Check/remove testsuite retcode

Aperta
#352 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
c
Ambito
testing

Direzione di ricerca

The payload names no files, tests or entry points, so the first step is to find where the testsuite's return code is defined and used across the in-tree tests. Tally the 1, 0 and -1 values the issue mentions and see which tests depend on them. Done means a maintainer-agreed decision on whether to remove the retcode, followed by a change that keeps the suite passing.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

AFAICT having a retcode in the testsuite is redundant and error-prone. If we have an errno, then the syscall should return -1...

In addition, looking at the instances we have in-tree, we have a retcode of 1, 0 and -1 - something doesn't feel right.

Lingua principale
C
Stelle
116
Fork
70
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di kmod-project/kmod

Tutte le issue di kmod-project/kmod

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.