Salome HOME
Merge from BR_V5_DEV 16Feb09
[modules/med.git] / src / MEDMEMBinTest / scripts / check_test_operation_fieldint
1 #! /bin/sh -f
2
3 outdir="/tmp"
4 if test "z$TMP" != "z" && test -e $TMP; then
5     outdir=$TMP
6 else
7  if test "z$TMPDIR" != "z" && test -e $TMPDIR; then
8     outdir=$TMPDIR
9  fi
10 fi
11
12 # make med file containing int field on cells from ensight file
13
14 infile=${srcdir}/../../resources/blow5_ascii.case
15 outfile=${outdir}/test_operation_fieldint.med
16
17 ./ensight2med $infile $outfile I
18
19 # main test
20 ./test_operation_fieldint $outfile EnsightMesh displacement_c
21
22 ok=$?
23
24 echo $outfile
25 rm $outfile
26
27 exit $ok