forked from linux-test-project/ltp
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tst_test.sh: Add support for positional paramters
Add support for passing positional paramters to the test. Many of shell testcases use these and converting them to named parameters will only complicate things for no good reason. So now we can specify number of additional positional paramters in the TST_POS_ARGS. These parameters will be then available in the script as $1, $2, ..., $n. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
- Loading branch information
Showing
2 changed files
with
104 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters