###################################\n Generated by certwatch(1)\n\n" (./certwatch.t at line 37) # Expected: "/Subject: The certificate for www.example.com will expire tomorrow/" # ./certwatch.t line 37 is: ok `$certwatch certw.1d`, "/$pfx will expire tomorrow/"; # Test 10 got: "To: root\nSubject: The certificate for www.example.com will expire in 21 days\n\n ################# SSL/TLS Certificate Warning ################\n\n Certificate for hostname 'www.example.com', in file:\n\n certw.22d\n\n The certificate needs to be renewed. Web browsers and \n other clients will not be able to correctly connect to this\n web site using SSL/TLS until the certificate is renewed.\n\n ##############################################################\n Generated by certwatch(1)\n\n" (./certwatch.t at line 38) # Expected: "/Subject: The certificate for www.example.com will expire in 22 days/" # ./certwatch.t line 38 is: ok `$certwatch certw.22d`, "/$pfx will expire in 22 days/"; # Test 11 got: "To: root\nSubject: The certificate for www.example.com will expire in 28 days\n\n ################# SSL/TLS Certificate Warning ################\n\n Certificate for hostname 'www.example.com', in file:\n\n certw.29d\n\n The certificate needs to be renewed. Web browsers and \n other clients will not be able to correctly connect to this\n web site using SSL/TLS until the certificate is renewed.\n\n ##############################################################\n Generated by certwatch(1)\n\n" (./certwatch.t at line 39) # Expected: "/Subject: The certificate for www.example.com will expire in 29 days/" # ./certwatch.t line 39 is: ok `$certwatch certw.29d`, "/$pfx will expire in 29 days/"; # Test 12 got: "To: root\nSubject: The certificate for www.example.com will expire in 29 days\n\n ################# SSL/TLS Certificate Warning ################\n\n Certificate for hostname 'www.example.com', in file:\n\n certw.31d\n\n The certificate needs to be renewed. Web browsers and \n other clients will not be able to correctly connect to this\n web site using SSL/TLS until the certificate is renewed.\n\n ##############################################################\n Generated by certwatch(1)\n\n" (./certwatch.t at line 40) # Expected: "" # ./certwatch.t line 40 is: ok `$certwatch certw.31d`, ''; # Failed test 20 in ./certwatch.t at line 53 # ./certwatch.t line 53 is: ok system("$certwatch -q certw.$c") != 0; ./certwatch.t .. 1..39 # Running under perl version 5.032000 for linux # Current time local: Mon Nov 30 06:47:17 2020 # Current time GMT: Mon Nov 30 06:47:17 2020 # Using Test.pm version 1.31 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 not ok 9 not ok 10 not ok 11 not ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 not ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 Failed 5/39 subtests Test Summary Report ------------------- ./certwatch.t (Wstat: 0 Tests: 39 Failed: 5) Failed tests: 9-12, 20 Files=1, Tests=39, 8 wallclock secs ( 0.60 usr 0.14 sys + 4.88 cusr 1.98 csys = 7.60 CPU) Result: FAIL make: *** [Makefile:26: check] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.nUtDaZ (%check) Bad exit status from /var/tmp/rpm-tmp.nUtDaZ (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/certwatch.spec