add testcases for #732 #1065 #1102

This commit is contained in:
Ken Sato
2018-06-07 10:11:23 +09:00
parent 139123dc12
commit 9bb48186e6
35 changed files with 1653 additions and 0 deletions

29
test/issues/1102/CT_002.sh Executable file
View File

@ -0,0 +1,29 @@
#!/bin/sh
TESTNAME=CT_002
. ./config
fail=0
echo "*** ${TESTNAME} start *******************"
echo "** exec ostest siginfo_00"
${MCEXEC} ${OSTEST_DIR}/bin/test_mck -s siginfo -n 0| tee -a ./${TESTNAME}.log
tail -n 1 ./${TESTNAME}.log | grep -a -e "RESULT: ok" &> /dev/null
if [ $? = 0 ]; then
echo "[OK] ostest siginfo_00 passed"
else
echo "[NG] ostest siginfo_00 failed"
fail=1
fi
if [ X$fail = X0 ]; then
echo "*** ${TESTNAME} PASSED"
else
echo "*** ${TESTNAME} FAILED"
fi
echo ""
rm ./${TESTNAME}.log