Long CLI flags
This commit is contained in:
parent
3cef9d4501
commit
84b707c97c
|
@ -250,6 +250,15 @@ function setup_submodule {
|
||||||
[ -f /tmp/forgebuild-time ]
|
[ -f /tmp/forgebuild-time ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@test "can use long CLI flags" {
|
||||||
|
$FORGEBUILD -b $FORGEBUILDDIR time
|
||||||
|
[ -f /tmp/forgebuild-time ]
|
||||||
|
TIME="$(cat /tmp/forgebuild-time)"
|
||||||
|
$FORGEBUILD --force --basedir $FORGEBUILDDIR time
|
||||||
|
NEWTIME="$(cat /tmp/forgebuild-time)"
|
||||||
|
[[ "$TIME" != "$NEWTIME" ]]
|
||||||
|
}
|
||||||
|
|
||||||
@test "tasks are run in alphanumeric order" {
|
@test "tasks are run in alphanumeric order" {
|
||||||
# Run in background
|
# Run in background
|
||||||
$FORGEBUILD -b $FORGEBUILDDIR &
|
$FORGEBUILD -b $FORGEBUILDDIR &
|
||||||
|
|
Loading…
Reference in New Issue