script.sh 320 B

12345678910111213
  1. #!/usr/bin/env bash
  2. SCRIPT=`realpath $0`
  3. SCRIPTPATH=`dirname $SCRIPT`
  4. # start the server
  5. php -S 127.0.0.1:8888 -t "$SCRIPTPATH/../../../../.." &
  6. sleep 30
  7. # run the tests
  8. cd /tmp/litmus/litmus-0.13
  9. make URL=http://127.0.0.1:8888/remote.php/dav/files/admin CREDS="admin admin" TESTS="basic copymove props locks" check