cfad47cfa3/t3compiler/testscripts/README

4b825dc642cb6eb9a060e54bf8d69288fbee4904cfad47cfa334b206c65f22086bcc5d63e6f70944
1
The scripts were created by using the existing scripts from the generic
2
Unix port of TADS as a template.  They have been modified in order to
3
fix portability issues.  So if you see a script that looks like this:
4
5
  if test -f "$T3_OUT/$1.log"; then
6
      :
7
  else
8
      foo
9
  fi
10
11
don't bother changing it to:
12
13
  if [ ! -f $T3_OUT/$1.log ]; then
14
    foo
15
  fi
16
17
and sending it to the maintainer.  The second example may look much
18
better, but it's not portable.  ('!' is not portable, '[' is not
19
portable... welcome to Unix!)  Of course, it's unlikely that people use
20
4.3BSD or Solaris 8, but still...