On Thu, Feb 28, 2013 at 05:51:30PM -0600, Bruce Dubbs wrote: > > I'm not sure. The base code has: > > set pmap "${topdir}pmap" > set pmap_initname "1:\\s+\\S+\[^\\r\]+\\s+" > ... > set test "pmap X with unreachable process" > spawn $pmap -X 1 > expect_pass $test "$pmap_initname\$" > > The sed removes that trailing \$ > > So it's running 'pmap -X 1'. When I run that from the command line, I > get no output at all, but that's without /proc mounted...
You normally run without /proc ? I *thought* it was pretty much essential. Thanks for the details, I might take a look later, but I've got a load of other BLFS issues and might not get round to it while my /tools with expect and dejagnu is still available. > > OK, /proc mounted. Now I get back: > > $ pmap -X 1 > 1: init [3] > > and a bunch of other stuff. I think, but am not sure, the problem is > that the regular expression is looking for trailing spaces and not > finding them. However, when I go into the chroot environment with the > virtual file systems mounted and run the tests, I get the ERRORs, but no > FAILs. > > -- Bruce > For the moment, it seems to be a problem with my builds (I still recall my problem with automake's test suite up to LFS-7.2 - caused by setting a variable, ISTR "SCRIPTS", in my environment, so not all of my differences are PEBKACs). We didn't have a testsuite in old procps, so not a problem for the release. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page