Skip to content

run-make-fulldeps/hotplug_codegen_backend is too presumptuous in checking for its dependencies #56222

Closed
@nagisa

Description

@nagisa

Namely, it has

	/bin/echo || exit 0 # This test requires /bin/echo to exist

however, it is not guaranteed that this binary will be exactly at /bin/echo on all systems. For example it isn’t on mine:

which echo # /run/current-system/sw/bin/echo
ls /bin/ | grep echo; or echo "echo is not in /bin/" # echo is not in /bin/

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions