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
#! /bin/bash. assert.sh
# `mvb a b` should fail if 'b' doesn't exist
assert_raises 'mvb a b' 1
# `mvb a b` should rename 'b' to 'a'
touch b
assert_raises 'mvb a b' 0
assert_raises '[ -f a ]' 0
rm a
# `mvb a b/` should mv 'b/a' in 'a'
mkdir b
touch b/a
assert_raises 'mvb a b/' 0
assert_raises '[ -f a ]' 0
rm a
rmdir b
assert_end 'mvb'
I tested on Travis and bc is not installed by default, here is the (end of the) log:
$ cd tests;bash ./tests.sh
assert.sh: line 81: bc: command not found
all 5 mvb tests passed in s.
�The command "bash ./tests.sh" exited with 0.�
Done. Your build exited with 0.
The text was updated successfully, but these errors were encountered:
Here is my test file for
mvb
:I tested on Travis and
bc
is not installed by default, here is the (end of the) log:The text was updated successfully, but these errors were encountered: