-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Just use rm
for helper command to remove storage
#7437
Conversation
LGTM |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mheon, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -67,7 +67,7 @@ function basic_teardown() { | |||
run_podman '?' pod rm --all --force | |||
run_podman '?' rm --all --force | |||
|
|||
/bin/rm -rf $PODMAN_TMPDIR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The intention here was to override a possible rm
alias. We once had CI break because of that (on this project), and pretty much everyone has hit that problem at least once in their career. I might feel more comfortable with command rm
; but it's probably not worth incurring the wrath of CI to resubmit.
I know you must get this a lot, but it's really offensive for a distro to break fifty years of UNIX /bin
precedent. I'm not blaming you, I know you're trying to work with the framework you have. I just need to vent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright I changed it to $(command -v rm) …
, I think this would also work if one has set an alias for rm
. 😇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, why not just command rm
? $(command -v rm)
seems overly rococo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, fixed that too 🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could also just to \rm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could also just to \rm
069cb73
to
900f5cd
Compare
/lgtm |
LGTM |
@TomSweeneyRedHat yes, it's #7195, I'm spending my day pressing Re-run on this and other PRs. |
/hold |
@saschagrunert Please rebase to fix flakes. |
This allows to use any kind of `rm` in `$PATH` for the system tests. Signed-off-by: Sascha Grunert <[email protected]>
Yes, rebased on top of the latest master branch. |
/lgtm |
/hold cancel |
This allows to use any kind of
rm
in$PATH
for the system tests.