Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
more suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaudill committed Oct 13, 2023
1 parent 973044c commit 1bb5f0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 3 additions & 7 deletions bin/ch-test
Original file line number Diff line number Diff line change
Expand Up @@ -1206,13 +1206,9 @@ case $phase in
done
;;
rootemu)
if [[ ($scope != full) && (-z "$with_rootemu") ]]; then
if [[ -z "$scope" ]]; then
scope="standard"
fi
printf "error: rootemu incompatible with scope: %s\n" "$scope"
exit 1
fi
# assume that “ch-test rootemu” means the user wants to run root
# emulation tests.
with_rootemu="yes"
test_rootemu optional # ch-image optional
;;
run)
Expand Down
1 change: 1 addition & 0 deletions test/build/55_cache.bats
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,7 @@ EOF


@test "${tag}: ignore patterns" {
# fails unless “__ch-test_ignore__” is included in the global gitignore file.
git check-ignore -q __ch-test_ignore__ \
|| pedantic_fail 'global ignore not configured'

Expand Down

0 comments on commit 1bb5f0d

Please sign in to comment.