Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
system tests: safer install_kube_template()
Previous version was badly broken: it relied on 'make' rebuilding a file under cwd, which is a no-no; and, in the case where we don't have a source directory, just blindly hoped that there'd be a system-installed .service file with the correct path to podman. Solution: . if running in source directory, run sed directly into destination service file in $UNIT_DIR. This is ugly duplication of a line in Makefile. . if NOT running in a source directory, check $PODMAN: . if it's /usr/bin/podman, continue. Include a warning that will be shown only on test failure. . otherwise skip, because we don't know what we're testing Signed-off-by: Ed Santiago <[email protected]>
- Loading branch information