[TCT][packaging/scripts/src/templates][NonACR][apply do-while for the assert macros]
The macros just have "if" statements. Thus the macros
can occur incorrect operation. The following is the example.
The "else" cannot operate properly since there are two "if"
in front of the "else". Thus do-while needs to be added.
if (condition)
assert_eq(ret, 0);
else
assert_eq(ret, 1);
===>>
if (condition)
if (ret != 0) {
do something;
}
else
if (ret != 1) {
do something;
}
Change-Id: I435f15f18aa1e01ad5ddce314dcbda8e0b9fbc0b
Signed-off-by: taeyoung <ty317.kim@samsung.com>