Add gzip and gunzip to the test list which using command tr.
PATCH 1/1 Add gzip and gunzip to the test list which using command tr.
--- engine/tests/Functional.busybox/fuego_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
engine/tests/Functional.busybox/fuego_test.sh +1 -1
@@ -44,7 +44,7 @@ function test_pre_check { echo "Tests skipped depending on the availability of a command on the target" touch ${LOGDIR}/skiplist.txt skip_if_command_unavailable expect "busybox_ash.sh" - skip_if_command_unavailable tr "busybox_chgrp1.sh busybox_chgrp2.sh busybox_chmod1.sh busybox_chmod2.sh busybox_chown1.sh busybox_chown2.sh" + skip_if_command_unavailable tr "busybox_chgrp1.sh busybox_chgrp2.sh busybox_chmod1.sh busybox_chmod2.sh busybox_chown1.sh busybox_chown2.sh busybox_gunzip.sh busybox_gzip.sh" skip_if_not_root "busybox_chroot.sh" }
Signature · 1 line
1.8.3.1
Looking at the scripts for gzip and gunzip, I think you should remove the usage of 'tr' in those scripts, rather than add the dependency and this check here.
Please see my comments on the other patch
-- Tim
Quoted 36 lines
-----Original Message-----
From: Wang MingyuSigned-off-by Wang Mingyu <[email protected]>--- engine/tests/Functional.busybox/fuego_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)engine/tests/Functional.busybox/fuego_test.sh +0
-0@@ -44,7 +44,7 @@ function test_pre_check { echo "Tests skipped depending on the availability of a command on thetarget"
touch${LOGDIR}/skiplist.txtskip_if_command_unavailableexpect "busybox_ash.sh"
-skip_if_command_unavailabletr "busybox_chgrp1.shbusybox_chgrp2.shbusybox_chmod1.shbusybox_chmod2.shbusybox_chown1.shbusybox_chown2.sh"
+skip_if_command_unavailabletr "busybox_chgrp1.shbusybox_chgrp2.shbusybox_chmod1.shbusybox_chmod2.shbusybox_chown1.shbusybox_chown2.shbusybox_gunzip.shbusybox_gzip.sh"
skip_if_not_root"busybox_chroot.sh"
}--
1.8.3.1_______________________________________________
Fuego mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/fuego