diff --git a/tests/frank_large_unit.bats b/tests/frank_large_unit.bats index 0f40820..0b6be28 100755 --- a/tests/frank_large_unit.bats +++ b/tests/frank_large_unit.bats @@ -262,9 +262,10 @@ argv_value() { grep -q 'retire_halogen_large_quadlet' "$REMOTE_DEPLOY" grep -q 'HOME/.AGENTTRASH' "$REMOTE_DEPLOY" ! grep -qE '(^|[^[:alnum:]_])rm (-[a-zA-Z]+ )?.*frank-large' "$REMOTE_DEPLOY" - # Nothing live ships for this endpoint as a container any more; the - # archived copy is host state in an ignored .AGENTTRASH, not a tracked - # file. + # Nothing live ships for this endpoint as a container any more. The + # archived copy is host state in an ignored .AGENTTRASH — deliberately + # untracked, and present only in a primary checkout — so search the + # tracked tree, not the filesystem. [ ! -e "$REPO_ROOT/dankclaw/frank-large/quadlet/frank-large.container" ] - ! grep -rq 'Image=.*halogen' "$REPO_ROOT/dankclaw" + ! git -C "$REPO_ROOT" grep -q 'Image=.*halogen' -- dankclaw }