Skip to content

t9009-workspace-flow-fixture: implicit bit status in a fixture workspace does not show workspace status #198

Description

@mizchi

Summary

t/t9009-workspace-flow-fixture.sh fails 1 of 5.

not ok 5 - git-compatible commands still work in fixture workspace
# passed: 4   failed: 1

The failing assertion

	(cd ws &&
	 $BIT repo status >../ws-fixture-repo-status.out 2>&1 &&
	 $BIT status >../ws-fixture-implicit-status.out 2>&1
	) &&
	grep "On branch" ws-fixture-repo-status.out &&
	! grep "workspace root:" ws-fixture-repo-status.out &&
	grep "workspace root:" ws-fixture-implicit-status.out

Reproduced by hand on the workspace_flow fixture:

$ bit repo status
On branch main

nothing to commit, working tree clean          # correct: no workspace root line

$ bit status
On branch main
Untracked files:
	dep/
	extra/
	leaf/                                      # expected the workspace status instead

Same three clauses as t9008 test 9, failing on the same one: the implicit-translation gate from #194.

This test is unaffected by #191 — it fails identically before and after that fixture change, which I verified while preparing #192.

Expect it to go green with #194 and no change to this file.

Note

Nothing under t/ runs in CI, which is why this has gone unnoticed. Reproduce with bash t/t9009-workspace-flow-fixture.sh.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions