1. 19 May, 2018 1 commit
  2. 10 Apr, 2018 1 commit
    • Craig Small's avatar
      misc: fix ps etime tests · ca07bcad
      Craig Small authored
      The test assumes only one process appears which, depending on the
      speed of things, may not be true. It now matches one to many process
      lines.
      ca07bcad
  3. 02 Mar, 2018 1 commit
    • Craig Small's avatar
      ps: Add NEWS and checks for times and cputimes · 5d0b094b
      Craig Small authored
      The previous commit had one minor bug in it because the fields need
      to be alphabetical and times comes after timeout.
      
      Added NEWS item for this feature
      Added another testsuite check for new flags in case they
      disappear or go strange one day.
      
      References:
       commit 8a94ed61
      5d0b094b
  4. 13 Jan, 2018 1 commit
    • Craig Small's avatar
      free: Update tests and fix for previous patch · e82dd07b
      Craig Small authored
      The previous two patches updated free, but needed a tweak and the tests
      also needed to be updated. I've hand-calculated the results using bc and
      both the testsuite and bc results equal what free prints out.
      
      References:
       commit 9365be76
       #45
      e82dd07b
  5. 03 Sep, 2017 1 commit
  6. 07 Feb, 2017 1 commit
  7. 02 Jan, 2017 1 commit
  8. 11 Sep, 2016 1 commit
    • Craig Small's avatar
      pgrep: Fix off by one error in line check · 24fd2605
      Craig Small authored
      There is now a warning if your command is longer than 15 characters
      and therefore can never match. Except it was checking for more than
      16 characters.
      
      Adjusted this and added a test case.
      
      References:
       !25
       commit 8e8835b2
      24fd2605
  9. 08 Sep, 2016 1 commit
  10. 09 Jul, 2016 1 commit
    • Craig Small's avatar
      misc: testsuite to source aux scripts correctly · 6118be80
      Craig Small authored
      Because I don't know how to redirect properly in tcl, there are
      some small scripts that do this for me. With your standard
      make check, all is good because the scripts and the binary are
      in the usual spots.
      
      make distcheck however puts them all over the place. The binary is
      in a different tree to the test and aux scripts. The change now
      tells where aux script where its binary is.
      6118be80
  11. 03 Jan, 2016 1 commit
  12. 14 Jun, 2015 1 commit
    • Craig Small's avatar
      testsuite: fix ps signals test · 898e3cc3
      Craig Small authored
      On some setups the signals count can change and be truncated. You
      will notice this because the number will have "<" prepended. The
      testsuite didn't handle this.
      You could either get:
               BLOCKED          BLOCKED          BLOCKED           CAUGHT
      CAUGHT          CATCHED
      0000000000000000 0000000000000000 0000000000000000 00000001f3d1fef9 00000001f3d1fef9 00000001f3d1fef9
      
      or
        BLOCKED   BLOCKED   BLOCKED    CAUGHT    CAUGHT   CATCHED
       00000000  00000000  00000000 <f3d1fef9 <f3d1fef9 <f3d1fef9
      898e3cc3
  13. 13 Jun, 2015 3 commits
    • Craig Small's avatar
      Do not link test process to libprocps · eb6190e6
      Craig Small authored
      The test process introduced at 420cd9c7 incorrectly linked to
      libprocps which made the CI runner fail.
      eb6190e6
    • Craig Small's avatar
      Skip tests where /proc/vmstat unreadable · 54fdbb19
      Craig Small authored
      testsuite would fail if /proc/vmstat was unreadable.
      Issue #3 brought up by Mike Frysinger.
      test script explicitly checks to see if it is readable and
      sets these tests to unsupported if not.
      54fdbb19
    • Craig Small's avatar
      Create test process · 420cd9c7
      Craig Small authored
      For the test suite, procps used to use sleep which would just
      create a process or two to test the tools against.  Some setups
      coreutils creates all programs including sleep into one blob which
      means a lot of the tests fail, see issue #2
      
      procps has its own sleep program now.
      420cd9c7
  14. 10 May, 2015 4 commits
  15. 09 May, 2015 2 commits
    • Craig Small's avatar
      pgrep SID=1 is valid · 34a1194a
      Craig Small authored
      On most systems the only process with a SID=1 is init
      and certainly not a test sleep.  On docker systems this
      test program IS on SID=1 and so our "impossible SID" becomes
      possible.
      34a1194a
    • Craig Small's avatar
      Fix some sched and tty tests · 4050148a
      Craig Small authored
      The ps sched test has been disabled. There are too many
      odd build farms this fails in strange ways.
      
      Other odd build farms have no tty and so some tests check
      for no tty and skip if not found.
      4050148a
  16. 03 Apr, 2015 1 commit
    • Craig Small's avatar
      free: Use IEC units · f8e98b65
      Craig Small authored
      Free always used 1024 based units but used the confusing old style
      kilo,mega etc.
      
      This change changes the names to kibi,mebi for 1024 based divisors
      and kilo,mega for 1000 based divisors or IEC units.
      
      It also checks if you try to set two units, e.g free -k -m
      Petabyte and Pebibyte have been added.
      
      If you used to use the long options such as --mega these will now
      actually print megabytes (they previously printed mebibytes).
      The short options are being used on the IEC units
      
      References: https://www.gitorious.org/procps/procps/merge_requests/38Signed-off-by: Craig Small's avatarCraig Small <csmall@enc.com.au>
      f8e98b65
  17. 19 Aug, 2014 1 commit
  18. 01 Jul, 2014 1 commit
    • Craig Small's avatar
      Reliably kill test processes · cacba561
      Craig Small authored
      It seems command -v also includes built-ins so checking for kill
      is useless because it finds the built-in and those machines or
      environments that have no /bin/kill fail at the check stage.
      Oh and then TCL exec doesn't spawn a shell.
      
      After reading way too many TCL websites, I believe this should
      fix the problem. TCL quoting is... different to say the least but
      it works reliably here. The script now even picked up a typo elsewhere
      which was nice.
      
      This change should stop the intermittent FTBFS bugs from the Debian
      pbuilders, I hope! You'd think kill $var wouldn't be this difficult.
      cacba561
  19. 27 May, 2014 1 commit
    • Craig Small's avatar
      Reduced partition type check · f4cc9720
      Craig Small authored
      vmstat -p checks used to fail on systems with odd
      partition tables, including some Debian buildd servers.
      This change limits what sort of test partitions are used,
      otherwise the test is skipped.
      
      There probably are other valid partitions, these can be added
      later, if known.
      f4cc9720
  20. 02 Feb, 2014 1 commit
    • Craig Small's avatar
      Update help files · 8e7ef322
      Craig Small authored
      Benno Schulenberg suggested some changes to the help messages
      to provide some consistency and clarity for both the users and
      translators of procps.
      
      The test needed to be updated as the pmap output changed too.
      Signed-off-by: Craig Small's avatarCraig Small <csmall@enc.com.au>
      8e7ef322
  21. 29 Jan, 2014 1 commit
    • Craig Small's avatar
      Check for presence of disks in vmstat · 5a34ff0a
      Craig Small authored
      vmstat -d or vmstat -p would crash mysteriously under different
      circumstances. The problem was eventually tracked down to /sys not
      being mounted which meant is_disk() always returned false.
      The partition would then be attempted to be linked to a non-existent
      disk causing a segfault.
      
      vmstat will now not link to a disk if none exists.
      The change in testing will skip those tests when /sys/block doesn't
      exist.
      
      Many thanks to Daniel Schepler for his analysis and suggestions.
      
      Bug-Debian: http://bugs.debian.org/736628
      5a34ff0a
  22. 03 Dec, 2013 1 commit
  23. 09 Oct, 2013 1 commit
  24. 31 Jul, 2013 1 commit
  25. 25 May, 2013 3 commits
  26. 07 Apr, 2013 1 commit
  27. 06 Apr, 2013 1 commit
  28. 25 Mar, 2013 2 commits
  29. 18 Mar, 2013 1 commit
  30. 14 Mar, 2013 2 commits
    • Jaromir Capik's avatar
      testsuite: increasing the upper limit of permitted values · 7f15f07b
      Jaromir Capik authored
      This commit increases the upper limit of permitted values
      in the expect_table_dsc procedure from 999,999 to 99,999,999.
      The previous value was insufficient and causing the slabtop test
      to fail on build systems where the number of objects exceeds
      one milion.
      7f15f07b
    • jim warner's avatar
      miscellaneous: clean up trailing whitespace throughout · fe75e26a
      jim warner authored
      The entire tree's polluted with inappropriate trailing
      whitespace. This commit rids our environment of all of
      those useless keystrokes. Unfortunately, it sure ain't
      a permanent solution and requires every contributor to
      instruct their editor(s) to prevent or eliminate them.
      
      Plus it's strongly recommended we all insert something
      like what's shown below to our '.gitconfig' file so as
      to provide at least some warnings when we try to apply
      any patches (git am) that do contain the #@!%& things!
      
      References(s):
      ~/.gitconfig excerpt ---------------------------------
      [core]
        whitespace = trailing-space, space-before-tab, blank-at-eof
      [apply]
        whitespace = warn
      --------------------------------- ~/.gitconfig excerpt
      Signed-off-by: jim warner's avatarJim Warner <james.warner@comcast.net>
      fe75e26a