[lfs-dev] procps-ng: seds and rm for testsuite unnecessary

Ken Moffat zarniwhoop at ntlworld.com
Tue Jul 28 08:06:19 PDT 2020


I think the following modifications to the procps-ng testsuite are
unnecessary:

sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp
sed -i '/set tty/d' testsuite/pkill.test/pkill.exp
rm testsuite/pgrep.test/pgrep.exp

I dropped these a while ago, and now that I've completed a current
build the results for procps-ng look fine (attached)

ĸen
-- 
+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
                          - Hogfather
-------------- next part --------------
check
check
make  check-recursive
Making check in include
make[2]: Nothing to be done for 'check'.
Making check in man-po
make[2]: Nothing to be done for 'check'.
Making check in po
make[2]: Nothing to be done for 'check'.
Making check in testsuite
make  check-DEJAGNU
make[3]: Entering directory '/building/procps-ng-3.3.16/testsuite'
Making a new site.exp file ...
make[3]: Leaving directory '/building/procps-ng-3.3.16/testsuite'
make[3]: Entering directory '/building/procps-ng-3.3.16/testsuite'
srcdir='.'; export srcdir; \
EXPECT=expect; export EXPECT; \
if /bin/sh -c "runtest --version" > /dev/null 2>&1; then \
  exit_status=0; l='pmap slabtop sysctl  free lib pgrep pkill ps pwdx uptime vmstat w'; for tool in $l; do \
    if runtest --tool $tool --srcdir $srcdir  ; \
    then :; else exit_status=1; fi; \
  done; \
else echo "WARNING: could not find 'runtest'" 1>&2; :;\
fi; \
exit $exit_status
WARNING: Couldn't find tool init file
Test run by root on Mon Jul 27 18:45:24 2020
Native configuration is x86_64-pc-linux-gnu

		=== pmap tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./pmap.test/pmap.exp ...

		=== pmap Summary ===

# of expected passes		11
/building/procps-ng-3.3.16/pmap version 3.3.16

WARNING: Couldn't find tool init file
Test run by root on Mon Jul 27 18:45:24 2020
Native configuration is x86_64-pc-linux-gnu

		=== slabtop tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./slabtop.test/slabtop.exp ...

		=== slabtop Summary ===

# of expected passes		8
WARNING: Couldn't find tool init file
Test run by root on Mon Jul 27 18:45:24 2020
Native configuration is x86_64-pc-linux-gnu

		=== sysctl tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./sysctl.test/sysctl_read.exp ...

		=== sysctl Summary ===

# of expected passes		5
/building/procps-ng-3.3.16/sysctl version 3.3.16

WARNING: Couldn't find tool init file
Test run by root on Mon Jul 27 18:45:24 2020
Native configuration is x86_64-pc-linux-gnu

		=== free tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./free.test/free.exp ...

		=== free Summary ===

# of expected passes		13
/building/procps-ng-3.3.16/free version 3.3.16

WARNING: Couldn't find tool init file
Test run by root on Mon Jul 27 18:45:25 2020
Native configuration is x86_64-pc-linux-gnu

		=== lib tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./lib.test/fileutils.exp ...
Running ./lib.test/strutils.exp ...

		=== lib Summary ===

# of expected passes		8
WARNING: Couldn't find tool init file
Test run by root on Mon Jul 27 18:45:25 2020
Native configuration is x86_64-pc-linux-gnu

		=== pgrep tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./pgrep.test/pgrep.exp ...

		=== pgrep Summary ===

# of expected passes		24
/building/procps-ng-3.3.16/pgrep version 3.3.16

WARNING: Couldn't find tool init file
Test run by root on Mon Jul 27 18:45:26 2020
Native configuration is x86_64-pc-linux-gnu

		=== pkill tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./pkill.test/pkill.exp ...

		=== pkill Summary ===

# of expected passes		3
/building/procps-ng-3.3.16/pkill version 3.3.16

WARNING: Couldn't find tool init file
Test run by root on Mon Jul 27 18:45:26 2020
Native configuration is x86_64-pc-linux-gnu

		=== ps tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./ps.test/ps_output.exp ...
Running ./ps.test/ps_personality.exp ...
Running ./ps.test/ps_sched_batch.exp ...

		=== ps Summary ===

# of expected passes		10
WARNING: Couldn't find tool init file
Test run by root on Mon Jul 27 18:45:27 2020
Native configuration is x86_64-pc-linux-gnu

		=== pwdx tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./pwdx.test/pwdx.exp ...

		=== pwdx Summary ===

# of expected passes		3
/building/procps-ng-3.3.16/pwdx version 3.3.16

WARNING: Couldn't find tool init file
Test run by root on Mon Jul 27 18:45:27 2020
Native configuration is x86_64-pc-linux-gnu

		=== uptime tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./uptime.test/uptime.exp ...

		=== uptime Summary ===

# of expected passes		2
/building/procps-ng-3.3.16/uptime version 3.3.16

WARNING: Couldn't find tool init file
Test run by root on Mon Jul 27 18:45:27 2020
Native configuration is x86_64-pc-linux-gnu

		=== vmstat tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./vmstat.test/vmstat.exp ...

		=== vmstat Summary ===

# of expected passes		6
/building/procps-ng-3.3.16/vmstat version 3.3.16

WARNING: Couldn't find tool init file
Test run by root on Mon Jul 27 18:45:27 2020
Native configuration is x86_64-pc-linux-gnu

		=== w tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./w.test/w.exp ...

		=== w Summary ===

# of expected passes		7
/building/procps-ng-3.3.16/w version 3.3.16

make[3]: Leaving directory '/building/procps-ng-3.3.16/testsuite'
make  lib/test_strtod_nol
make[3]: Entering directory '/building/procps-ng-3.3.16'
  CC       lib/test_strtod_nol.o
make[3]: Leaving directory '/building/procps-ng-3.3.16'
make[3]: Entering directory '/building/procps-ng-3.3.16'
  CCLD     lib/test_strtod_nol
make[3]: Leaving directory '/building/procps-ng-3.3.16'
make  check-TESTS
make[4]: Entering directory '/building/procps-ng-3.3.16'
PASS: lib/test_strtod_nol
make[4]: Leaving directory '/building/procps-ng-3.3.16'
make[4]: Entering directory '/building/procps-ng-3.3.16'
============================================================================
Testsuite summary for procps-ng 3.3.16
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[4]: Leaving directory '/building/procps-ng-3.3.16'


More information about the lfs-dev mailing list