1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/testprogs/blackbox/b15464-testcase.sh
Stefan Metzmacher 62af25d44e nsswitch: add test for pthread_key_delete missuse (bug 15464)
This is based on https://bugzilla.samba.org/attachment.cgi?id=18081
written by Krzysztof Piotr Oledzki <ole@ans.pl>

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15464

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2023-09-14 17:56:30 +00:00

22 lines
393 B
Bash
Executable File

#!/bin/sh
# Blackbox wrapper for bug 15464
# Copyright (C) 2023 Stefan Metzmacher
if [ $# -lt 2 ]; then
cat <<EOF
Usage: b15464-testcase.sh B15464_TESTCASE LIBNSS_WINBIND
EOF
exit 1
fi
b15464_testcase=$1
libnss_winbind=$2
shift 2
failed=0
. $(dirname $0)/subunit.sh
testit "run b15464-testcase" $VALGRIND $b15464_testcase $libnss_winbind || failed=$(expr $failed + 1)
testok $0 $failed