ima_setup.sh: Some cleanup

* Use 'test.sh'.

* Use 'test_brkm' instead of 'tst_resm TBROK'.

* Use 'tst_tmpdir' and 'tst_rmdir'.

* Delete some useless variable value.

* Delete some unuseful comments.

* Some cleanup.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
ima_measurements.sh: Some cleanup

* Use 'tst_check_cmds' instead of 'exists'.

* Use 'test_resm' instead of 'tst_res'.

* Use '$()' instead of '``'.

* Delete 'cat' and '<(file input)' while use 'sha1sum'.

* Delete 'TST_COUNT' which has been defined in 'test.sh'.

* Delete some unuseful comments.

* Some cleanup.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
ima_policy.sh: Some cleanup

* Install 'policy' into '$LTPROOT/testcases/data'.

* Use 'test_resm' instead of 'tst_res'.

* Delete 'TST_COUNT' which has been defined in 'test.sh'.

* Delete some unuseful comments.

* Some cleanup.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
ima_tpm.sh: Some cleanup

* Use 'tst_check_cmds' instead of 'exists'.

* Use 'test_resm' instead of 'tst_res'.

* Use '$()' instead of '``'.

* Delete 'TST_COUNT' which has been defined in 'test.sh'.

* Delete some unuseful comments.

* Some cleanup.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
ima_violations.sh: Some cleanup

* Use 'test_resm' instead of 'tst_res'.

* Use '$()' instead of '``'.

* Delete 'TST_COUNT' which has been defined in 'test.sh'.

* Delete some unuseful comments.

* Some cleanup.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>