Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

When testing URI-5.31 on macOS High Sierra/darwin17.7.0, with Perl 5.34 and 5.38 t/otpauth.t reports mismatch in Examples #148

Open
ballapete opened this issue Dec 21, 2024 · 0 comments

Comments

@ballapete
Copy link

Hello!

Testing is performed in MacPorts package manager. Here are test results:

--->  Testing p5.38-uri
Executing:  cd "/opt/local/var/macports/build/_Users_alpha_ports_perll_p5-uri/p5.38-uri/work/URI-5.31" && /usr/bin/make test 
PERL_DL_NONLAZY=1 "/opt/local/bin/perl5.38" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# 
# Versions for all modules listed in MYMETA.json (including optional ones):
# 
# === Configure Requires ===
# 
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 7.70
# 
# === Configure Suggests ===
# 
#     Module      Want Have
#     -------- ------- ----
#     JSON::PP 2.27300 4.16
# 
# === Build Requires ===
# 
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 7.70
# 
# === Test Requires ===
# 
#     Module                Want     Have
#     --------------------- ---- --------
#     ExtUtils::MakeMaker    any     7.70
#     File::Spec             any     3.88
#     File::Spec::Functions  any     3.88
#     File::Temp             any   0.2311
#     Test::Fatal            any    0.017
#     Test::More            0.96 1.302204
#     Test::Needs            any 0.002010
#     Test::Warnings         any    0.033
#     utf8                   any     1.25
# 
# === Test Recommends ===
# 
#     Module         Want     Have
#     ---------- -------- --------
#     CPAN::Meta 2.120900 2.150010
# 
# === Runtime Requires ===
# 
#     Module           Want     Have
#     ------------ -------- --------
#     Carp              any     1.54
#     Cwd               any     3.89
#     Data::Dumper      any    2.188
#     Encode            any     3.19
#     Exporter         5.57     5.77
#     MIME::Base32      any    1.303
#     MIME::Base64        2     3.16
#     Net::Domain       any     3.15
#     Scalar::Util      any     1.68
#     constant          any     1.33
#     integer           any     1.01
#     overload          any     1.37
#     parent            any    0.241
#     perl         5.008001 5.038002
#     strict            any     1.12
#     utf8              any     1.25
#     warnings          any     1.65
# 
# === Runtime Suggests ===
# 
#     Module          Want  Have
#     -------------- ----- -----
#     Business::ISBN 3.005 3.009
#     Regexp::IPv6    0.03  0.03
# 
t/00-report-prereqs.t ...... ok
t/abs.t .................... ok
t/clone.t .................. ok
t/cwd.t .................... ok
t/data.t ................... ok
t/escape-char.t ............ ok
t/escape.t ................. ok
t/file.t ................... ok
t/ftp.t .................... ok
t/ftpes.t .................. ok
t/ftps.t ................... ok
t/generic.t ................ ok
t/geo_basic.t .............. ok
t/geo_construct.t .......... ok
t/geo_point.t .............. ok
t/gopher.t ................. ok
t/heuristic.t .............. ok
t/http.t ................... ok
t/icap.t ................... ok
t/idna.t ................... ok
t/ipv6.t ................... ok
t/irc.t .................... ok
t/ircs.t ................... ok
t/iri.t .................... ok
t/ldap.t ................... ok
t/mailto.t ................. ok
t/mix.t .................... ok
t/mms.t .................... ok
t/news.t ................... ok
t/num_eq.t ................. ok
t/old-absconf.t ............ ok
t/old-base.t ............... ok
t/old-file.t ............... ok
t/old-relbase.t ............ ok
Issuer prefix from label 'Example' does not match issuer parameter 'Example2' at t/otpauth.t line 67.
Issuer prefix from label 'Example' does not match issuer parameter 'Example2' at t/otpauth.t line 68.
Issuer prefix from label 'Example' does not match issuer parameter 'Example2' at t/otpauth.t line 69.
Issuer prefix from label 'Example' does not match issuer parameter 'Example2' at t/otpauth.t line 70.
Issuer prefix from label 'Example' does not match issuer parameter 'Example2' at t/otpauth.t line 71.
Issuer prefix from label 'Example' does not match issuer parameter 'Example2' at t/otpauth.t line 72.
Issuer prefix from label 'Example' does not match issuer parameter 'Example2' at t/otpauth.t line 73.
Issuer prefix from label 'Example' does not match issuer parameter 'Example2' at t/otpauth.t line 74.
# doc1_uri is otpauth://totp/Example:alice@google.com?secret=NFZS25DINFZV643VOAZXELLTGNRXEM3UH4&issuer=Example
# doc2_uri is otpauth://totp/Example:alice@google.com?secret=NFZS25DINFZV643VOAZXELLTGNRXEM3UH4&issuer=Example
t/otpauth.t ................ ok
t/path-segments.t .......... ok
t/pop.t .................... ok
t/punycode.t ............... ok
t/query-param.t ............ ok
t/query.t .................. ok
t/rel.t .................... ok
t/rfc2732.t ................ ok
t/roy-test.t ............... ok
t/rsync.t .................. ok
t/rtsp.t ................... ok
# 1
# 1
t/scheme-exceptions.t ...... ok
t/scp.t .................... ok
t/sftp.t ................... ok
t/sip.t .................... ok
t/sort-hash-query-form.t ... ok
t/split.t .................. ok
t/sq-brackets-legacy.t ..... ok
t/sq-brackets.t ............ ok
t/ssh.t .................... ok
t/storable.t ............... ok
t/urn-isbn.t ............... ok
t/urn-oid.t ................ ok
t/urn-scheme-exceptions.t .. ok
t/userpass.t ............... ok
t/utf8.t ................... ok
All tests successful.

Test Summary Report
-------------------
t/mailto.t               (Wstat: 0 Tests: 20 Failed: 0)
  TODO passed:   16
Files=60, Tests=975, 11 wallclock secs ( 0.28 usr  0.12 sys +  6.32 cusr  0.87 csys =  7.59 CPU)
Result: PASS

A typo on line 64: my $issuer2_uri = URI->new( 'otpauth://hotp/Example:alice@google.com?&issuer=Example2&counter=23&period=15' );?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant