script.sh 488 B

123456789101112131415161718
  1. #!/usr/bin/env bash
  2. #
  3. # SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
  4. # SPDX-FileCopyrightText: 2015 ownCloud, Inc.
  5. # SPDX-License-Identifier: AGPL-3.0-only
  6. #
  7. SCRIPT=`realpath $0`
  8. SCRIPTPATH=`dirname $SCRIPT`
  9. # start the server
  10. php -S 127.0.0.1:8888 -t "$SCRIPTPATH/../../../../.." &
  11. sleep 30
  12. # run the tests
  13. cd /tmp/litmus/litmus-0.13
  14. make URL=http://127.0.0.1:8888/remote.php/dav/files/admin CREDS="admin admin" TESTS="basic copymove props largefile" check