File: test.sh

package info (click to toggle)
libgetdata 0.11.0-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,144 kB
  • sloc: ansic: 100,814; cpp: 4,843; fortran: 4,548; f90: 2,561; python: 2,406; perl: 2,274; makefile: 1,487; php: 1,465; sh: 86
file content (10 lines) | stat: -rwxr-xr-x 189 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
s=`expr ./$2 : '.*/\(.*\).m'`
rm -f ./test_failed
$1 -nodesktop -nodisplay -nosplash -nojvm -r "$s; quit;"

#lame
if test -e ./test_failed; then
  rm -f ./test_failed
  exit 1
fi