gitui-org / gitui-org/gitui

make test fails on windows

Aperta
#1,932 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug
Lingua principale
Rust
Stelle
22.5k
Fork
773
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

#1751 adds a test that makes symbolic links.

This fails on windows unless you are 'root' - see https://doc.rust-lang.org/stable/std/os/windows/fs/fn.symlink_file.html#limitations

This means that anybody on windows has to diagnose why this test fails, which is not obvious. (No normal dev on windows runs as root, just like on linux etc. Note that the github ci tasks works, so they must be running with the correct rights)

Maybe just having this bug report is enough to help out as google will find it. Alternatives:
- detect the 'not enough rights' failure and end the test as successful
- look for lack of root and exit the test early
- doc in readme under the 'build' section.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia eseguendo `make test` su Windows e ispeziona il test dei collegamenti simbolici aggiunto da #1751, utilizzando la documentazione di Rust collegata per comprendere il fallimento relativo alle autorizzazioni. Il lavoro è completato quando il test non lascia più gli sviluppatori Windows comuni con un errore non spiegato, oppure quando la limitazione richiesta è documentata chiaramente nelle istruzioni di build.

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

Valutazione

Stack tecnologico
rust
Ambito
operating-systems, testing
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.