summaryrefslogtreecommitdiff
path: root/test/rcup-hooks.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/rcup-hooks.t')
-rw-r--r--test/rcup-hooks.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rcup-hooks.t b/test/rcup-hooks.t
index 8890f7b..15c6790 100644
--- a/test/rcup-hooks.t
+++ b/test/rcup-hooks.t
@@ -9,10 +9,10 @@ Pre-up and post-up hooks should run by default
$ echo 'echo "example" > /tmp/test' > .dotfiles/hooks/pre-up
> echo 'cat /tmp/test; rm /tmp/test' > .dotfiles/hooks/post-up
- $ rcup
+ $ /usr/bin/env -i PATH="$PATH" HOME="$HOME" RCRC="$RCRC" RCM_LIB="$RCM_LIB" rcup
example
Ensure that hooks run when output of lsrc is non-empty
$ touch .dotfiles/testrc
- > rcup
+ $ /usr/bin/env -i PATH="$PATH" HOME="$HOME" RCRC="$RCRC" RCM_LIB="$RCM_LIB" rcup
example