1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/script/tests/test_tevent_glib_glue.sh
Andreas Schneider 7dce28b712 s3:tests: Reformat test_tevent_glib_glue.sh
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-22 09:12:31 +00:00

21 lines
401 B
Bash
Executable File

#!/bin/sh
incdir=$(dirname $0)/../../../testprogs/blackbox
. $incdir/subunit.sh
failed=0
TESTNAME="tevent_glib_glue_test"
if [ ! -x $BINDIR/tevent_glib_glue_test ]; then
subunit_start_test "$TESTNAME"
subunit_skip_test "$TESTNAME" <<EOF
Test needs glib2-devel
EOF
testok $0 $failed
fi
testit "$TESTNAME" $VALGRIND $BINDIR/tevent_glib_glue_test ||
failed=$(expr $failed + 1)
testok $0 $failed