Skip to content

Commit

Permalink
Updated unit
Browse files Browse the repository at this point in the history
  • Loading branch information
soup-bowl committed Jan 15, 2025
1 parent ee7e572 commit c3b8b9d
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
# allocateTty: true

0 comments on commit c3b8b9d

Please sign in to comment.