Test boot count after BMC reboot.

This change includes:
  - Added test case to check boot count after BMC reboot.
  - Added keyword to get boot count based on bootime change.
  - Added keyword to set boot count.

Resolve openbmc/openbmc-test-automation#352

Change-Id: I6b831c96cae188788fb2161a8cafddf15ac1b326
Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>
diff --git a/tests/test_general_bmc_system.robot b/tests/test_general_bmc_system.robot
new file mode 100755
index 0000000..3d50f49
--- /dev/null
+++ b/tests/test_general_bmc_system.robot
@@ -0,0 +1,29 @@
+*** Settings ***
+Documentation  Basic BMC Linux kernel stability test.
+
+Resource           ../lib/utils.robot
+Resource           ../lib/connection_client.robot
+Resource           ../lib/openbmc_ffdc.robot
+Resource           ../lib/state_manager.robot
+
+Suite Setup        Open Connection And Log In
+Suite Teardown     Close All Connections
+
+# TODO: Collect proc data from system as part of FFDC
+# Refer openbmc/openbmc-test-automation#353
+Test Teardown      FFDC On Test Case Fail
+
+*** Variables ***
+
+
+*** Test Cases ***
+
+Verify Boot Count After BMC Reboot
+    [Documentation]  Verify boot count increments on BMC reboot.
+    [Tags]  Verify_Boot_Count_After_BMC_Reboot
+
+    Set BMC Boot Count  ${0}
+    Initiate BMC Reboot
+    ${boot_count}=  Get BMC Boot Count
+    Should Be Equal  ${boot_count}  ${1}
+    ...  msg=Boot count is not incremented.