Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F625404
run-tests-on.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
305 B
Referenced Files
None
Subscribers
None
run-tests-on.sh
View Options
#!/bin/sh
VMNAME
=
$1
vagrant
status
$VMNAME
|
grep
-q
"
$VMNAME
.*running"
if
test
$?
-eq
0
;
then
vagrant
provision
$VMNAME
>
.
$VMNAME
else
vagrant
up
$VMNAME
>
.
$VMNAME
fi
cat
.tests
|
grep
-q
-E
"FAIL|WARN"
if
test
$?
-eq
0
;
then
echo
"
$VMNAME
FAILED"
cat
.tests
exit
2
else
echo
"
$VMNAME
OK"
fi
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, Nov 14, 11:25 PM (10 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
136597
Default Alt Text
run-tests-on.sh (305 B)
Attached To
Mode
R114 php-mongodb
Attached
Detach File
Event Timeline