mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-10 09:26:15 +00:00
26 lines
527 B
Bash
Executable File
26 lines
527 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
. ./test_vars
|
|
|
|
if [ $HAVE_FORK -eq 1 ]; then
|
|
expected="Running suite(s): NoFork
|
|
0%: Checks: 1, Failures: 1, Errors: 0"
|
|
else
|
|
expected="Running suite(s): NoFork
|
|
0%: Checks: 1, Failures: 1, Errors: 0
|
|
Running suite(s): NoForkSupport
|
|
100%: Checks: 1, Failures: 0, Errors: 0"
|
|
fi
|
|
|
|
actual=`./check_nofork${EXEEXT} | tr -d "\r"`
|
|
if [ x"${expected}" = x"${actual}" ]; then
|
|
exit 0
|
|
else
|
|
echo "Problem with check_nofork${EXEEXT}"
|
|
echo "Expected: "
|
|
echo "${expected}"
|
|
echo "Got: "
|
|
echo "${actual}"
|
|
exit 1
|
|
fi
|