2021-01-07 21:43:58 -08:00
|
|
|
mkdir /home/seluser/published/
|
2024-04-18 15:37:11 +02:00
|
|
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
2024-06-28 11:58:12 +02:00
|
|
|
sudo dotnet publish -o /home/seluser/published/ /sources/Duplicati.sln
|
2021-01-07 21:43:58 -08:00
|
|
|
|
2024-06-28 11:58:12 +02:00
|
|
|
sudo /home/seluser/published/Duplicati.Server --webservice-password=easy1234 &
|
2024-06-28 11:48:07 +02:00
|
|
|
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
|
2021-01-07 21:43:58 -08:00
|
|
|
echo Running Tests...
|
2024-06-28 11:48:07 +02:00
|
|
|
|
|
|
|
|
# Installing the chrome driver requires root permissions
|
2024-04-18 16:21:49 +02:00
|
|
|
sudo python3 /sources/guiTests/guiTest.py --headless --use-chrome
|