diff --git a/unit-test.yaml b/unit-test.yaml index 7862a2b..64864b9 100644 --- a/unit-test.yaml +++ b/unit-test.yaml @@ -10,10 +10,17 @@ fileExistenceTests: path: '/usr/local/bin/docker-entrypoint.sh' shouldExist: true isExecutableBy: 'owner' -# commandTests: -# - name: "Run OpenSimulator" -# setup: [["docker-entrypoint.sh"]] -# command: "timeout" -# args: ["-s", "SIGINT", "10s", "dotnet", "OpenSim.dll"] +commandTests: + - name: "Check Entrypoint" + command: "docker-entrypoint.sh" + expectedError: + - ".*No OpenSim configuration found.*" + - ".*No Grid Common configuration found.*" + - ".*No region details found.*" + # Does not work with allocateTty, but the software needs a tty. Poss. a bug in the test framework? + # - name: "Run OpenSimulator" + # setup: [["docker-entrypoint.sh"]] + # command: "timeout" + # args: ["-s", "SIGINT", "10s", "dotnet", "OpenSim.dll"] containerRunOptions: - allocateTty: true \ No newline at end of file + # allocateTty: true \ No newline at end of file