test runs with different basedir (relative, trailing slash)
This commit is contained in:
parent
65b3f6995f
commit
c436c62224
|
@ -237,3 +237,15 @@ function setup_submodule {
|
|||
NEWTIME="$(cat /tmp/forgebuild-time)"
|
||||
[[ "$TIME" != "$NEWTIME" ]]
|
||||
}
|
||||
|
||||
@test "can run with relative basedir" {
|
||||
cd $FORGEBUILDDIR
|
||||
$FORGEBUILD -b . time
|
||||
[ -f /tmp/forgebuild-time ]
|
||||
}
|
||||
|
||||
@test "can run with trailing slash in basedir" {
|
||||
cd $FORGEBUILDDIR
|
||||
$FORGEBUILD -b ./ time
|
||||
[ -f /tmp/forgebuild-time ]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue