develooper Front page | perl.perl5.porters | Postings from April 2018

Cleanups from test

Thread Next
From:
H.Merijn Brand
Date:
April 26, 2018 07:33
Subject:
Cleanups from test
Message ID:
20180426093309.29ee056d@pc09.procura.nl
On HP-UX and AIX I see two annoying leftovers on the system after smoke
runs. That does not happen on Linux

1. On /tmp (or $TMPDIR) there are a lot of folders that have a subfolder
   "testdir"

   $ cd /tmp
   $ rm -rf ??????????/testdir
   $ rmdir ??????????

2. Shared memory is not cleaned up, causing the resources to run out

   $ ipcs -ma |\
     perl -nE'm/^m\s+(\d+)\s.*merijn\s+[a-z]+\s+0\s/ and say "-m $1"' |\
     xargs ipcrm

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.27   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About