Subject: | test_leaks.t uses invalid syntax for ps on Cygwin |
When running tests for Heap on Cygwin, ps rejects the options and shows a usage screen:
ps: unknown option -- p
Usage: ps [-aefls] [-u UID]
Report process status
-a, --all show processes of all users
-e, --everyone show processes of all users
-f, --full show process uids, ppids
-h, --help output usage information and exit
-l, --long show process uids, ppids, pgids, winpids
-s, --summary show process summary
-u, --user list processes owned by UID
-v, --version output version information and exit
-W, --windows show windows as well as cygwin processes
With no options, ps outputs the long format by default
ps --version shows:
ps (cygwin) 1.11
Process Statistics
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
Compiled on Nov 10 2004