Commit ffcb24cc authored by Vesa Oikonen's avatar Vesa Oikonen
Browse files

bug fix in the test

parent c1d33966
#!/bin/bash
#: Title : test_fit_feng
#: Date : 2019-08-26
#: Date : 2019-09-19
#: Author : "Vesa Oikonen" <vesa.oikonen@utu.fi>
#: Options : None
......@@ -462,8 +462,11 @@ printf "\n ok \n"
iftmatch -abs=0.01 fit1.ift output1.ift p4 L2
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
printf "\n ok \n"
iftmatch -abs=0.01 fit1.ift output1.ift p5 dT
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
iftmatch -abs=0.0001 fit1.ift output1.ift p7 dT
if [ $? -ne 0 ] ; then
iftmatch -abs=0.0001 fit1.ift output1.ift p5 dT
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
fi
printf "\n passed. \n\n"
iftmatch -abs=0.01 fit2.ift output2.ift p1 A1
......@@ -478,14 +481,11 @@ printf "\n ok \n"
iftmatch -abs=0.01 fit2.ift output2.ift p4 L2
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
printf "\n ok \n"
iftmatch -abs=0.01 fit2.ift output2.ift p5 A3
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
printf "\n ok \n"
iftmatch -abs=0.01 fit2.ift output2.ift p6 L3
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
printf "\n ok \n"
iftmatch -abs=0.01 fit2.ift output2.ift p7 dT
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
iftmatch -abs=0.0001 fit2.ift output2.ift p5 dT
if [ $? -ne 0 ] ; then
iftmatch -abs=0.0001 fit2.ift output2.ift p7 dT
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
fi;
printf "\n passed. \n\n"
iftmatch -abs=0.01 fit3.ift output3.ift p1 A1
......@@ -500,20 +500,14 @@ printf "\n ok \n"
iftmatch -abs=0.01 fit3.ift output3.ift p4 L2
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
printf "\n ok \n"
iftmatch -abs=0.01 fit3.ift output3.ift p5 A3
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
printf "\n ok \n"
iftmatch -abs=0.01 fit3.ift output3.ift p6 L3
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
printf "\n ok \n"
iftmatch -abs=0.01 fit3.ift output3.ift p7 A4
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
printf "\n ok \n"
iftmatch -abs=0.01 fit3.ift output3.ift p8 L4
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
printf "\n ok \n"
iftmatch -abs=0.01 fit3.ift output3.ift p9 dT
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
iftmatch -abs=0.0001 fit3.ift output3.ift p9 dT
if [ $? -ne 0 ] ; then
iftmatch -abs=0.0001 fit3.ift output3.ift p7 dT
if [ $? -ne 0 ] ; then
iftmatch -abs=0.0001 fit3.ift output3.ift p5 dT
if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi
fi
fi
printf "\n passed. \n\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment