Debian Codegraph @

debian/tests/test-z15

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 set -e
4
5 DEB_HOST_MULTIARCH=$(dpkg-architecturescip-shell system . . dpkg-architecture. -qDEB_HOST_MULTIARCH)
6
7
8 "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-good-z15" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-z15"
9 # trap signal to self
10 trap "exit 0" ILL
11 trap "exit 0" SEGV
12 trap "exit 0" BUS
13
14
15 sed_move_to_stderrscip-shell shell shell-project 0.0.0 sed_move_to_stderr().() {
16 sedscip-shell system . . sed. -e "/$1/w /dev/stderr" -e "/$1/d"
17 }
18
19 qemu_badscip-shell shell shell-project 0.0.0 qemu_bad().() {
20 "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-bad-z15" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-z15" || truescip-shell system . . true.
21 }
22
23 exec 5>&1
24 exec 3>&1
25 error_qemu=$( ( ( (qemu_badscip-shell shell shell-project 0.0.0 qemu_bad().) 2>&1 >&3 3>&- ; echoscip-shell system . . echo. $? >&4) | sed_move_to_stderrscip-shell shell shell-project 0.0.0 sed_move_to_stderr(). 'uncaught target signal' 2>&1 >&3 3>&- ) 4>&1 >&5)
26 exec 3>&-
27 exec 5>&-
28 testscip-shell system . . test. "X$error_qemu" = "X0"