You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run checks with assert_file_owner it seems to complain about sudo.
If I uncomment the assert_file_owner lines, this passes.
@test "verify we can setup the log location" {
INT_REPOSITORY_DIR="/tmp"
LOG_DIR="$INT_REPOSITORY_DIR/logs/"
rm -rf "$LOG_DIR"
run log_setup
assert_dir_exist "$LOG_DIR"
assert_file_owner tcsuser "$LOG_DIR" # This seems to be the problem line
}
If I leave either of the second to last line, I get an error like this.
✗ verify we can setup the bluray log location
(in test file test/TCSstart_BLURAY_install.sh.bats, line 144)
`assert_dir_exist "$LOG_DIR"' failed with status 127
/opt/bats/lib/bats-file/src/file.bash: line 297: sudo: command not found
The text was updated successfully, but these errors were encountered:
When I run checks with assert_file_owner it seems to complain about sudo.
If I uncomment the assert_file_owner lines, this passes.
If I leave either of the second to last line, I get an error like this.
The text was updated successfully, but these errors were encountered: