#!/usr/share/ucs-test/runner bash
#
# Univention System Activation
#  test script
#
# SPDX-FileCopyrightText: 2015-2025 Univention GmbH
# SPDX-License-Identifier: AGPL-3.0-only

. tools.inc.sh

license_file=/usr/share/univention-ldap/core-edition.ldif
http --form "license=@${license_file}"

has_request_failed ||
	fail_fast 1 "Wrong LDAP base DN is not caught"
