facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
29 lines
574 B
Bash
Executable File
29 lines
574 B
Bash
Executable File
#!/bin/sh
|
|
: "${srcdir=.}"
|
|
. "$srcdir/init.sh"; path_prepend_ .
|
|
|
|
# Check that an atexit handler is called when main() returns normally.
|
|
echo > t-atexit.tmp
|
|
${CHECKER} test-atexit
|
|
if test -f t-atexit.tmp; then
|
|
Exit 1
|
|
fi
|
|
|
|
# Check that an atexit handler is called when the program is left
|
|
# through exit(0).
|
|
echo > t-atexit.tmp
|
|
${CHECKER} test-atexit 0
|
|
if test -f t-atexit.tmp; then
|
|
Exit 1
|
|
fi
|
|
|
|
# Check that an atexit handler is called when the program is left
|
|
# through exit(1).
|
|
echo > t-atexit.tmp
|
|
${CHECKER} test-atexit 1
|
|
if test -f t-atexit.tmp; then
|
|
Exit 1
|
|
fi
|
|
|
|
Exit 0
|