10 lines
500 B
Bash
Executable File
10 lines
500 B
Bash
Executable File
mkdir /home/seluser/published/
|
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|
sudo dotnet publish -o /home/seluser/published/ /sources/Duplicati.sln
|
|
|
|
sudo /home/seluser/published/Duplicati.Server --webservice-password=easy1234 &
|
|
timeout 30 bash -c 'until printf "" 2>>/dev/null >>/dev/tcp/$0/$1; do sleep 1; echo Checking if server started...; done' 127.0.0.1 8200
|
|
echo Running Tests...
|
|
|
|
# Installing the chrome driver requires root permissions
|
|
sudo python3 /sources/guiTests/guiTest.py --headless --use-chrome |