make syscall_enter arch-dependent

Change-Id: I4317f3443902620ef5b3807ced05c80fa5eebbec
Fujitsu: POSTK_DEBUG_ARCH_DEP_90
Refs: #1357
This commit is contained in:
Ken Sato
2019-09-09 15:37:09 +09:00
committed by Masamichi Takagi
parent fd38ab6fd0
commit 1492f16d67
6 changed files with 232 additions and 4 deletions

26
test/issues/1357/C1357.sh Executable file
View File

@@ -0,0 +1,26 @@
#/bin/sh
USELTP=1
USEOSTEST=0
. ../../common.sh
issue=1357
tid=01
for tp in ptrace01 ptrace02 ptrace03 ptrace04 ptrace05
do
tname=`printf "C${issue}T%02d" ${tid}`
echo "*** ${tname} start *******************************"
sudo $MCEXEC $LTPBIN/$tp 2>&1 | tee $tp.txt
ok=`grep TPASS $tp.txt | wc -l`
ng=`grep TFAIL $tp.txt | wc -l`
if [ $ng = 0 ]; then
echo "*** ${tname} PASSED ($ok)"
else
echo "*** ${tname} FAILED (ok=$ok ng=%ng)"
fi
let tid++
echo ""
done