aboutsummaryrefslogtreecommitdiffstats
path: root/autotest.sh
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2025-05-16 13:10:07 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2025-05-16 13:10:07 +0200
commit44c7cbcee5ec0262bcc6e09c925051a5c44ac2bf (patch)
treecc8f9c2188d4dedcc777422f6b8969e48e4a2ed0 /autotest.sh
parentfc9310feef28615775eb951b61c04543ebe00603 (diff)
downloadnextcloud-server-test/autotest-git.tar.gz
nextcloud-server-test/autotest-git.zip
test: restore .htaccess file after running unit teststest/autotest-git
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'autotest.sh')
-rwxr-xr-xautotest.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autotest.sh b/autotest.sh
index cb991e0e9ad..eba85bd0d3c 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -146,6 +146,9 @@ function cleanup_config {
fi
# Remove mysqlmb4.config.php
rm -f config/mysqlmb4.config.php
+
+ # restore .htaccess
+ git restore .htaccess
}
# restore config on exit