From 28babfa0a7ab8a6c1df9d16c7235d968c1337df3 Mon Sep 17 00:00:00 2001 From: mrichomme Date: Fri, 10 Apr 2020 18:22:59 +0200 Subject: Fix integration markdown errors for linter Issue-ID: INT-1523 Signed-off-by: mrichomme Change-Id: I2be0865395b12e1f277834b0c096f5d183cb5056 Signed-off-by: mrichomme --- .../datafilecollector-testharness/common/README.md | 61 +++++++++++----------- 1 file changed, 30 insertions(+), 31 deletions(-) (limited to 'test/mocks/datafilecollector-testharness/common/README.md') diff --git a/test/mocks/datafilecollector-testharness/common/README.md b/test/mocks/datafilecollector-testharness/common/README.md index bcd345739..31f40ef10 100644 --- a/test/mocks/datafilecollector-testharness/common/README.md +++ b/test/mocks/datafilecollector-testharness/common/README.md @@ -1,4 +1,4 @@ -##Common test scripts and env file for test +## Common test scripts and env file for test **test_env.sh**
Common env variables for test in the auto-test dir. Used by the auto test cases/suites but could be used for other test script as well. @@ -9,7 +9,7 @@ Common functions for auto test cases in the auto-test dir. A subset of the funct **testsuite_common.sh**
Common functions for auto test suites in the auto-test dir. -##Descriptions of functions in testcase_common.sh +## Descriptions of functions in testcase_common.sh The following is a list of the available functions in a test case file. Please see some of the defined test cases for examples. @@ -90,97 +90,97 @@ Sleep for a number of seconds and prints dfc heartbeat output every 30 sec **mr_equal []**
Tests if a variable value in the MR simulator is equal to a target value and an optional timeout. -
Arg: `` `` - This test set pass or fail depending on if the variable is +
Arg: ` ` - This test set pass or fail depending on if the variable is equal to the targer or not. -
Arg: `` `` - This test waits up to the timeout seconds +
Arg: ` ` - This test waits up to the timeout seconds before setting pass or fail depending on if the variable value becomes equal to the target value or not. **mr_greater []**
Tests if a variable value in the MR simulator is greater than a target value and an optional timeout. -
Arg: `` `` - This test set pass or fail depending on if the variable is +
Arg: ` ` - This test set pass or fail depending on if the variable is greater the target or not. -
Arg: `` `` - This test waits up to the timeout seconds +
Arg: ` ` - This test waits up to the timeout seconds before setting pass or fail depending on if the variable value is greater than the target value or not. **mr_less []**
Tests if a variable value in the MR simulator is less than a target value and an optional timeout. -
Arg: `` `` - This test set pass or fail depending on if the variable is +
Arg: ` ` - This test set pass or fail depending on if the variable is less than the target or not. -
Arg: `` `` - This test waits up to the timeout seconds +
Arg: ` ` - This test waits up to the timeout seconds before setting pass or fail depending on if the variable value is less than the target value or not. **mr_contain_str []**
Tests if a variable value in the MR simulator contains a substring target and an optional timeout. -
Arg: `` `` - This test set pass or fail depending on if the variable contains +
Arg: ` ` - This test set pass or fail depending on if the variable contains the target substring or not. -
Arg: `` `` - This test waits up to the timeout seconds +
Arg: ` ` - This test waits up to the timeout seconds before setting pass or fail depending on if the variable value contains the target substring or not. **dr_equal []**
Tests if a variable value in the DR simulator is equal to a target value and an optional timeout. -
Arg: `` `` - This test set pass or fail depending on if the variable is +
Arg: ` ` - This test set pass or fail depending on if the variable is equal to the target or not. -
Arg: `` `` - This test waits up to the timeout seconds +
Arg: ` ` - This test waits up to the timeout seconds before setting pass or fail depending on if the variable value becomes equal to the target value or not. **dr_greater []**
Tests if a variable value in the DR simulator is greater than a target value and an optional timeout. -
Arg: `` `` - This test set pass or fail depending on if the variable is +
Arg: ` ` - This test set pass or fail depending on if the variable is greater the target or not. -
Arg: `` `` - This test waits up to the timeout seconds +
Arg: ` ` - This test waits up to the timeout seconds before setting pass or fail depending on if the variable value is greater than the target value or not. **dr_less []**
Tests if a variable value in the DR simulator is less than a target value and an optional timeout. -
Arg: `` `` - This test set pass or fail depending on if the variable is +
Arg: ` ` - This test set pass or fail depending on if the variable is less than the target or not. -
Arg: `` `` - This test waits up to the timeout seconds +
Arg: ` ` - This test waits up to the timeout seconds before setting pass or fail depending on if the variable value is less than the target value or not. **dr_contain_str []**
Tests if a variable value in the DR simulator contains a substring target and an optional timeout. -
Arg: `` `` - This test set pass or fail depending on if the variable contains +
Arg: ` ` - This test set pass or fail depending on if the variable contains the target substring or not. -
Arg: `` `` - This test waits up to the timeout seconds +
Arg: ` ` - This test waits up to the timeout seconds before setting pass or fail depending on if the variable value contains the target substring or not. **drr_equal []**
Tests if a variable value in the DR Redir simulator is equal to a target value and an optional timeout. -
Arg: `` `` - This test set pass or fail depending on if the variable is +
Arg: ` ` - This test set pass or fail depending on if the variable is equal to the target or not. -
Arg: `` `` - This test waits up to the timeout seconds +
Arg: ` ` - This test waits up to the timeout seconds before setting pass or fail depending on if the variable value becomes equal to the target value or not. **drr_greater []**
Tests if a variable value in the DR Redir simulator is greater than a target value and an optional timeout. -
Arg: `` `` - This test set pass or fail depending on if the variable is +
Arg: ` ` - This test set pass or fail depending on if the variable is greater the target or not. -
Arg: `` `` - This test waits up to the timeout seconds +
Arg: ` ` - This test waits up to the timeout seconds before setting pass or fail depending on if the variable value is greater than the target value or not. **drr_less []**
Tests if a variable value in the DR Redir simulator is less than a target value and an optional timeout. -
Arg: `` `` - This test set pass or fail depending on if the variable is +
Arg: ` ` - This test set pass or fail depending on if the variable is less than the target or not. -
Arg: `` `` - This test waits up to the timeout seconds +
Arg: ` ` - This test waits up to the timeout seconds before setting pass or fail depending on if the variable value is less than the target value or not. **drr_contain_str []**
Tests if a variable value in the DR Redir simulator contains a substring target and an optional timeout. -
Arg: `` `` - This test set pass or fail depending on if the variable contains +
Arg: ` ` - This test set pass or fail depending on if the variable contains the target substring or not. -
Arg: `` `` - This test waits up to the timeout seconds +
Arg: ` ` - This test waits up to the timeout seconds before setting pass or fail depending on if the variable value contains the target substring or not. @@ -203,18 +203,17 @@ Print the test result. Only once at the very end of the script. Print all variables from the simulators and the dfc heartbeat. In addition, comment in the file can be added using the normal comment sign in bash '#'. -Comments that shall be visible on the screen as well as in the test case log, use ``echo ""``. +Comments that shall be visible on the screen as well as in the test case log, use `echo ""`. - -##Descriptions of functions in testsuite_common.sh +## Descriptions of functions in testsuite_common.sh The following is a list of the available functions in a test suite file. Please see a existing test suite for examples. **suite_setup**
Sets up the test suite and print out a heading. -**run_tc <$1 from test suite script> <$2 from test suite script>**
+**run_tc <$1 from test suite script> <$2 from test suite script>**
Execute a test case with arg from test suite script **suite_complete**
-Print out the overall result of the executed test cases. \ No newline at end of file +Print out the overall result of the executed test cases. -- cgit 1.2.3-korg