[Quoting Johan Vromans, on February 21 2003, 11:02, in "Re: Smoke 18752 GNU/"]
> This version of ps supports several environment variables to control its
> behaviour and output. I'll check them out.
It appears that the environment variable I_WANT_A_BROKEN_PS, which is
documented to only affect the way ps accept its command line options,
also has impact on the output:
phoenix:jv [~] % ps -f
UID PID PPID C STIME TTY TIME CMD
jv 10186 10139 0 11:45 pts/4 00:00:00 -bin/tcsh -i
jv 10192 10186 0 11:45 pts/4 00:00:00 ps -f
phoenix:jv [~] % env I_WANT_A_BROKEN_PS=yes ps -f
PID TTY STAT TIME COMMAND
10186 pts/4 S 0:00 -bin/tcsh -i
10193 pts/4 R 0:00 ps -f
phoenix:jv [~] %
Removing this environment variable fixes the problem, all tests pass.
We might consider to run the tests under a strictly controlled
environment, i.e., only pass the variables we want to.
-- Johan