Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
debarshiray committed Jun 23, 2023
1 parent 33d0adf commit baa6910
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
working-directory: containers/toolbox

- name: System tests
run: bats --timing test/system
run: bats --timing test/system/001-version.bats test/system/002-help.bats test/system/101-create.bats
env:
TOOLBOX: /usr/local/bin/toolbox
working-directory: containers/toolbox
1 change: 1 addition & 0 deletions test/system/libs/helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ function get_system_id() {
local os_release

os_release="$(find_os_release)"
echo "# os-release(5): $os_release" >&3

if [[ -z "$os_release" ]]; then
echo ""
Expand Down
7 changes: 6 additions & 1 deletion test/system/setup_suite.bash
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fi
setup_suite() {
bats_require_minimum_version 1.7.0
echo "# test suite: Set up" >&3

echo "# SHELL: $SHELL" >&3
if $missing_dependencies; then
echo "# Missing dependencies" >&3
echo "# Forgot to run 'git submodule init' and 'git submodule update' ?" >&3
Expand All @@ -36,6 +36,11 @@ setup_suite() {
local os_release="$(find_os_release)"
local system_id="$(get_system_id)"
local system_version="$(get_system_version)"
echo "# system_id: $system_id" >&3
echo "# system_version: $system_version" >&3

passwd="$(cat /etc/passwd)"
echo "# passwd: $passwd" >&3

_setup_environment
# Cache the default image for the system
Expand Down

0 comments on commit baa6910

Please sign in to comment.