ok 5 ok 6 ok 7 ok 8 ok 9 not ok 10 # 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/"; not ok 11 # 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/"; not ok 12 # 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`, ''; ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 not ok 20 # Failed test 20 in ./certwatch.t at line 53 # ./certwatch.t line 53 is: ok system("$certwatch -q certw.$c") != 0; 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 4/39 subtests Test Summary Report ------------------- ./certwatch.t (Wstat: 0 Tests: 39 Failed: 4) Failed tests: 10-12, 20 Files=1, Tests=39, 2 wallclock secs ( 0.25 usr 0.04 sys + 1.10 cusr 0.39 csys = 1.78 CPU) Result: FAIL make: *** [Makefile:26: check] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.zdkSgt (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.zdkSgt (%check) 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: # /usr/bin/systemd-nspawn -q -M 183d51291a1544bc9252ae74442d2261 -D /var/lib/mock/f33-build-324781-58003/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zwkmlqtc:/etc/resolv.conf --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/certwatch.spec