Salome HOME
Merge from BR_V5_DEV 16Feb09
[modules/med.git] / src / MEDMEMBinTest / scripts / check_test_MEDMEM_PolyDriverMedMeshWrite
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 initfile=${srcdir}/../../resources/pointe_import22.med
13 infile=$outdir/test_MEDMEM_PolyDriverMedMeshWrite.med
14 outfile=$outdir/test_MEDMEM_PolyDriverMedMeshWrite.med_copy
15
16 cp $initfile $infile
17
18 ./test_MEDMEM_PolyDriverMedMeshWrite $infile maa1
19
20 ok=$?
21
22 rm $infile
23 rm $outfile
24
25 exit $ok