bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_ruby/20-ruby-version-test.sh

Sahil Muthoo 6ce9d3
#!/bin/sh
Sahil Muthoo 6ce9d3
# Author: Nikhil Lanjewar <nikhil@lanjewar.com>
Sahil Muthoo 6ce9d3
# Author: Sahil Muthoo <sahilm@thoughtworks.com>
Sahil Muthoo 6ce9d3
# Author: Sahil Aggarwal <sahilagg@gmail.com>
Sahil Muthoo 6ce9d3
# Author: Saager Mhatre <saager.mhatre@gmail.com>
Sahil Muthoo 6ce9d3
Sahil Muthoo 6ce9d3
t_Log "Running $0 - Check successful installation of ruby."
Sahil Muthoo 6ce9d3
ruby -v | grep -q '1.8.7'
Sahil Muthoo 6ce9d3
t_CheckExitStatus $?
Sahil Muthoo 6ce9d3