From 8580c0589b4b60abdaf857d705974d927f9ca052 Mon Sep 17 00:00:00 2001 From: Karanbir Singh Date: Jul 22 2012 14:51:45 +0000 Subject: move the bc tests into place --- diff --git a/tests/p_0-bc/0-install_bc.sh b/tests/p_0-bc/0-install_bc.sh deleted file mode 100755 index 2107276..0000000 --- a/tests/p_0-bc/0-install_bc.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Author : Varadharajan M -# Manoj Mahalingam -t_InstallPackage bc -t_CheckExitStatus $? diff --git a/tests/p_0-bc/bc-test-basic-functionalities.sh b/tests/p_0-bc/bc-test-basic-functionalities.sh deleted file mode 100644 index 716b9a1..0000000 --- a/tests/p_0-bc/bc-test-basic-functionalities.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -# Author : Varadharajan M -# Manoj Mahalingam - -t_Log "Running $0 - Testing basic bc functionalities" -test `echo "5 + 6 * 5 / 10 - 1" | bc` -eq "7" ; t_CheckExitStatus $? diff --git a/tests/p_0-bc/bc-test-installation.sh b/tests/p_0-bc/bc-test-installation.sh deleted file mode 100644 index a58d7a1..0000000 --- a/tests/p_0-bc/bc-test-installation.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -# Author : Varadharajan M -# Manoj Mahalingam - - -t_Log "Running $0 - Test bc is installed" -bc --version -t_CheckExitStatus $? diff --git a/tests/p_bc/0-install_bc.sh b/tests/p_bc/0-install_bc.sh new file mode 100755 index 0000000..2107276 --- /dev/null +++ b/tests/p_bc/0-install_bc.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# Author : Varadharajan M +# Manoj Mahalingam +t_InstallPackage bc +t_CheckExitStatus $? diff --git a/tests/p_bc/bc-test-basic-functionalities.sh b/tests/p_bc/bc-test-basic-functionalities.sh new file mode 100644 index 0000000..716b9a1 --- /dev/null +++ b/tests/p_bc/bc-test-basic-functionalities.sh @@ -0,0 +1,6 @@ +#!/bin/bash +# Author : Varadharajan M +# Manoj Mahalingam + +t_Log "Running $0 - Testing basic bc functionalities" +test `echo "5 + 6 * 5 / 10 - 1" | bc` -eq "7" ; t_CheckExitStatus $? diff --git a/tests/p_bc/bc-test-installation.sh b/tests/p_bc/bc-test-installation.sh new file mode 100644 index 0000000..a58d7a1 --- /dev/null +++ b/tests/p_bc/bc-test-installation.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# Author : Varadharajan M +# Manoj Mahalingam + + +t_Log "Running $0 - Test bc is installed" +bc --version +t_CheckExitStatus $?