summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2023-04-11 14:20:01 +1200
committerAndreas Schneider <asn@cryptomilk.org>2023-04-12 13:52:32 +0000
commit60c501b387d479fa9c653151dee4b2feebcb04ac (patch)
tree1c9e09a01e3a30d9f320e7e4f115e4d4eee03907 /nsswitch
parent833cefe8eeb80e1e5475fc277e09cefdc89b6dce (diff)
downloadsamba-60c501b387d479fa9c653151dee4b2feebcb04ac.tar.gz
nsswitch:tests: Remove unused functions
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'nsswitch')
-rwxr-xr-xnsswitch/tests/test_rfc2307_mapping.sh34
1 files changed, 0 insertions, 34 deletions
diff --git a/nsswitch/tests/test_rfc2307_mapping.sh b/nsswitch/tests/test_rfc2307_mapping.sh
index a700791bde3..440a924b090 100755
--- a/nsswitch/tests/test_rfc2307_mapping.sh
+++ b/nsswitch/tests/test_rfc2307_mapping.sh
@@ -26,40 +26,6 @@ samba_tool="$VALGRIND $samba4bindir/samba-tool"
ldbmodify=$(system_or_builddir_binary ldbmodify "${BINDIR}")
-testfail()
-{
- name="$1"
- shift
- cmdline="$*"
- echo "test: $name"
- $cmdline
- status=$?
- if [ x$status = x0 ]; then
- echo "failure: $name"
- else
- echo "success: $name"
- fi
- return $status
-}
-
-knownfail()
-{
- name="$1"
- shift
- cmdline="$*"
- echo "test: $name"
- $cmdline
- status=$?
- if [ x$status = x0 ]; then
- echo "failure: $name [unexpected success]"
- status=1
- else
- echo "knownfail: $name"
- status=0
- fi
- return $status
-}
-
# Create new testing account
testit "user add" $PYTHON $samba_tool user create --given-name="rfc2307" \
--surname="Tester" --initial="UT" rfc2307_test_user testp@ssw0Rd \