Debian Codegraph @

tests/usecases/f/testWr.sh

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 file=`echoscip-shell system . . echo. ${0##*/} | sedscip-shell system . . sed. 's/\(^.*\)_Wr\.sh$/\1/'`
3 fileref=${file}
4 medint=
5 case $file in
6 *)
7 ;;
8 esac
9 testscip-shell system . . test. "x${CPYMED}" = "xyes" && ${CP} ${SRCDIR}/test.med.ref ${BUILDDIR}/${file}.med && chmodscip-shell system . . chmod. 644 ${BUILDDIR}/${file}.med
10 output=/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. "x${OUTPUT}" = "xyes" && output=${file}.out
11 ${CHECKER} ${EXECDIR}/${file} ${SRCDIR}/dumps.ref/UsesCase_MEDstructElement_1_byid.med > ${output} 2>&1 && ${H5DUMP} ${BUILDDIR}/${file}.med > ${BUILDDIR}/${file}.dump && ( \
•12 sed -e 's/H5T_STD_[BI]32[LB]E//g' \
13 -e 's/H5T_STD_I64BE//g' -e 's/H5T_STD_I64LE//g' \
14 -e 's/H5T_IEEE_F64BE//g' -e 's/H5T_IEEE_F64LE//g' \
15 -e 's/H5T_STD_[IU]8[LB]E//g' \
16 -e 's/HDF5.*{//g' \
17 ${BUILDDIR}/${file}.dump > ${BUILDDIR}/${file}.dump.tmp && \
•18 sed -e 's/H5T_STD_[BI]32[LB]E//g' \
19 -e 's/H5T_STD_I64BE//g' -e 's/H5T_STD_I64LE//g' \
20 -e 's/H5T_IEEE_F64BE//g' -e 's/H5T_IEEE_F64LE//g' \
21 -e 's/H5T_STD_[IU]8[LB]E//g' \
22 -e 's/HDF5.*{//g' \
23 ${BUILDDIR}/dumps.ref/${fileref}.dump > ${BUILDDIR}/${file}.dump.ref && \
24 diff ${BUILDDIR}/${file}.dump.ref ${BUILDDIR}/${file}.dump.tmp && \
25 rm -f ${BUILDDIR}/${file}.dump.tmp && rmscip-shell system . . rm. -f ${BUILDDIR}/${file}.dump.ref )
26 exit_code=$?
27 testscip-shell system . . test. "x${UPDATE}" = "xyes" && testscip-shell system . . test. $exit_code -ne 0 && cpscip-shell system . . cp. ${BUILDDIR}/${file}.med ${SRCDIR}/dumps.ref/${file}${medint}.med && svn st -v ${SRCDIR}/dumps.ref/${file}${medint}.med
28 exit $exit_code