summaryrefslogtreecommitdiff
path: root/tests/test-asyncsafe-linked_list-weak.sh
blob: 73f15eb2ad3d9e40069e7413dd774f3ec5696bfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

st=0
for i in 1 2 3 ; do
  ${CHECKER} ./test-asyncsafe-linked_list-weak${EXEEXT} $i
  result=$?
  if test $result = 77; then
    st=77
    break
  fi
  if test $result != 0; then
    echo "test-asyncsafe-linked_list-weak.sh: test case $i failed" >&2
    st=1
  fi
done
exit $st