On fredag, feb 21, 2003, at 11:49 Europe/Stockholm, Johan Vromans wrote:



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

Perhaps, but do we want to run under a broken ps :-)


I changed the regex to what Rafael suggest, it's in as change 18759.

Arthur



Reply via email to