Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: fix error from test #172

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Commits on Oct 18, 2024

  1. Makefile: fix error from test

    When running make test, there appears an error:
    
    	/bin/sh: 1: test: go test -exec sudo: unexpected operator
    
    or
    
    	/bin/sh: line 1: test: go test -exec sudo: binary operator expected
    
    (depending on which shell is used).
    
    This is caused by CMD value containing extra quotes (from
    RUN_VIA_SUDO=-exec "sudo -n") which test sees as an extra option.
    
    Enclose test argument in single quotes to fix the issue.
    
    Signed-off-by: Kir Kolyshkin <[email protected]>
    kolyshkin committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    48631b5 View commit details
    Browse the repository at this point in the history