Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-12-18
06:43 • Ticket [681797ffff] deprecate the unixExecs constraint status still Open wit... artifact: ba714bcc42 user: stwo
2004-02-26
07:25 • Ticket [681797ffff]: 4 changes artifact: f00e750d53 user: dgp
2003-02-06
17:30 • New ticket [681797ffff]. artifact: a2ccd109c5 user: dgp

deprecate the unixExecs constraint

Open681797ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 16 years ago
Descriptionplain2003-02-06 17:30:39
In the way overlong set of default constraints defined
by tcltest, we find the constraint "unixExecs".

This constraint is true if all the following executables
appears to be available for [exec]:

  cat
  echo
  sh
  wc
  sleep
  chmod
  rm
  mkdir
  fgrep
  grep
  ps

Any test suite that needs a particular executable to
be available should really test for each executable
it needs and define its own constraints.

The only test suite known to use the unixExecs
constraint is Tcl's own test suite, and it only [exec]'s
cat, echo, and grep.

It would be nice to do away with this constraint entirely,
or at least reduce the executables tested to those actually
used.
dgpplain2004-02-26 07:25:02
Logged In: YES 
user_id=80530


Note that [exec cat] is especially
broken in Cygwin in its handling
of the command line.  Yet more
reason to stop using this constraint
wherever possible.
stwo Ticket [681797ffff]: 1 change [History diff]2010-12-18 06:43:58
Log in (anonymous is fine) to add a comment.