Projekt

Allgemein

Profil

Aktionen

Bug #254

geschlossen

gwentest does not show all available tests

Von rhabacker vor mehr als 3 Jahren hinzugefügt. Vor fast 3 Jahren aktualisiert.

Status:
Closed
Priorität:
Normal
Kategorie:
Gwenhywfar
Beginn:
31.12.2021
Abgabedatum:
Betriebssystem:
FreeBSD, Linux, MacOSX, Windows
AqBanking-Version:
6.4.0
Anwendung:
andere
Version der Anwendung:
5.8.1

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

Aktionen #2

Von rhabacker vor mehr als 3 Jahren aktualisiert

The appended patch adds test 'pw5', which was not added to the list of available tests.

Aktionen #3

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.

Aktionen #4

Von rhabacker vor mehr als 3 Jahren aktualisiert

Friendly reminder

Aktionen #5

Von martin vor mehr als 3 Jahren aktualisiert

  • Status wurde von New zu Resolved geändert

Got it ;-)

Thanks, just applied to git repo.

Aktionen #6

Von martin vor mehr als 3 Jahren aktualisiert

  • Status wurde von Resolved zu Closed geändert
Aktionen #7

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 ?

Aktionen

Auch abrufbar als: Atom PDF