Bug #254
geschlossengwentest does not show all available tests
Beschreibung
Currently running 'gwentest' without any test shows:
$ ~/src/gwenhywfar-build/test/gwentest Usage: ~/src/gwenhywfar-build/test/.libs/gwentest <test> where <test> is one of db, dbfile, dbfile2, list, key, mkkey, cpkey, xml, xml2, sn, ssl, accept, connect
where is should be
~/src/gwenhywfar-build/test/gwentest Usage: ~/src/gwenhywfar-build/test/.libs/gwentest <test> where <test> is one of 3rsa 3rsa2 3rsa3 3rsa4 822 822x base64 base64_2 buf2 cryptmgr1 cryptmgr2 cryptmgr3 csv date1 date2 db db2 dbfile dbfile2 dbfile3 dbfile4 des des2 des3 des4 des5 des6 dlg env floatdouble fslock fslock2 gtls hashtree http1 http2 httpsServer httpsession list map map2 map3 map4 mem modules msg newxml olddb option params1 params2 params3 parity process process2 pss1 pss2 pss3 ptr pw1 pw2 pw3 pw4 rsa sar1 sar2 sar3 sar4 setBinDataDb signals1 signals2 signals3 sio1 sio2 sio3 sl sl2 sn socketServer sort threads1 threads2 time time1 time2 tlsServer tresor1 tresor2 url xml xml2 xml3 xml4 xml5 xml6 xml7 xml8 xmldb1 xmldb2
Dateien
Von rhabacker vor mehr als 3 Jahren aktualisiert
- Datei 0001-gwentest-display-of-all-available-tests-corrected.patch 0001-gwentest-display-of-all-available-tests-corrected.patch wurde hinzugefügt
The appended patch fixes the issue.
Von rhabacker vor mehr als 3 Jahren aktualisiert
- Datei 0001-gwentest-add-missing-test-pw5.patch 0001-gwentest-add-missing-test-pw5.patch wurde hinzugefügt
The appended patch adds test 'pw5', which was not added to the list of available tests.
Von rhabacker vor mehr als 3 Jahren aktualisiert
When I looked more closely at the sources of gwenhywfar, I discovered additional command line applications where not all available commands/tests are displayed, such as: gcttool.
It occurred to me that these applications could benefit from a commonly available interface for defining commands or tests and I implemented this as an example on https://github.com/rhabacker/gwenhywfar/commits/maint-gwen-funcs-support.
Since available commands/tests have to be included in the corresponding structure, it is guaranteed that they are also available in the help and one can immediately see if descriptions are still missing.
It would be nice to get feedback on the extent to which something like this is desired and what, if anything, needs to be changed.
Von martin vor mehr als 3 Jahren aktualisiert
- Status wurde von New zu Resolved geändert
Got it ;-)
Thanks, just applied to git repo.
Von martin vor mehr als 3 Jahren aktualisiert
- Status wurde von Resolved zu Closed geändert
Von rhabacker vor fast 3 Jahren aktualisiert
Is it intended not to have these patches in the 'maint' branch from which the stable versions are created ?