make tests independent of bin locations
On my system (Arch Linux), the commands {mv,rm,sed} live under
`/usr/bin`, not under `/bin`. So the tests were failing.
This commit hard-codes the initial paths to make the tests independent
on their real paths.
This commit is contained in:
@@ -33,9 +33,9 @@ oneTimeSetUp() {
|
||||
# Test functions
|
||||
function ln() { ln $@; }
|
||||
# Test aliases
|
||||
alias mv="nocorrect mv"
|
||||
alias rm="rm --option"
|
||||
alias sed="sed"
|
||||
alias mv="nocorrect /bin/mv"
|
||||
alias rm="/bin/rm --option"
|
||||
alias sed="/bin/sed"
|
||||
# Test already wrapped commands
|
||||
alias cat="exec_scmb_expand_args /bin/cat"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user