aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/sso-setup/test-sso-smb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/sso-setup/test-sso-smb.sh')
-rwxr-xr-xapps/files_external/tests/sso-setup/test-sso-smb.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files_external/tests/sso-setup/test-sso-smb.sh b/apps/files_external/tests/sso-setup/test-sso-smb.sh
index df0692f4319..46955ae0d3c 100755
--- a/apps/files_external/tests/sso-setup/test-sso-smb.sh
+++ b/apps/files_external/tests/sso-setup/test-sso-smb.sh
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
+#
+# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: AGPL-3.0-or-later
+#
+
set -e
DC_IP="$1"
@@ -11,6 +16,7 @@ if [[ "$LOGIN_CONTENT" =~ "Location: http://localhost/success" ]]; then
echo "✔️"
else
echo "❌"
+ echo "$CONTENT"
exit 1
fi
echo -n "Getting test file: "
@@ -21,5 +27,6 @@ if [[ $CONTENT == "testfile" ]]; then
echo "✔️"
else
echo "❌"
+ echo "$CONTENT"
exit 1
fi