bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_0-bc/bc-test-basic-functionalities.sh

Varadharajan d98c08
#!/bin/bash
Varadharajan d98c08
# Author : Varadharajan M <srinathsmn@gmail.com>
Varadharajan d98c08
#          Manoj Mahalingam <manojlds@gmail.com>
Varadharajan d98c08
Varadharajan d98c08
t_Log "Running $0 - Testing basic bc functionalities"
Varadharajan d98c08
test `echo "5 + 6 * 5 / 10 - 1" | bc` -eq "7" ; t_CheckExitStatus $?