All of lore.kernel.org
 help / color / mirror / Atom feed
* [Fuego] [PATCH] Add gzip and gunzip to the test list which using command tr.
@ 2018-07-16  3:21 Wang Mingyu
  2018-07-18 18:33 ` Tim.Bird
  0 siblings, 1 reply; 2+ messages in thread
From: Wang Mingyu @ 2018-07-16  3:21 UTC (permalink / raw)
  To: fuego

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
---
 engine/tests/Functional.busybox/fuego_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/engine/tests/Functional.busybox/fuego_test.sh b/engine/tests/Functional.busybox/fuego_test.sh
index 861cf24..e2597ac 100755
--- a/engine/tests/Functional.busybox/fuego_test.sh
+++ b/engine/tests/Functional.busybox/fuego_test.sh
@@ -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"
 }
 
-- 
1.8.3.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Fuego] [PATCH] Add gzip and gunzip to the test list which using command tr.
  2018-07-16  3:21 [Fuego] [PATCH] Add gzip and gunzip to the test list which using command tr Wang Mingyu
@ 2018-07-18 18:33 ` Tim.Bird
  0 siblings, 0 replies; 2+ messages in thread
From: Tim.Bird @ 2018-07-18 18:33 UTC (permalink / raw)
  To: wangmy, fuego

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


> -----Original Message-----
> From: Wang Mingyu
> 
> Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
> ---
>  engine/tests/Functional.busybox/fuego_test.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/engine/tests/Functional.busybox/fuego_test.sh
> b/engine/tests/Functional.busybox/fuego_test.sh
> index 861cf24..e2597ac 100755
> --- a/engine/tests/Functional.busybox/fuego_test.sh
> +++ b/engine/tests/Functional.busybox/fuego_test.sh
> @@ -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"
>  }
> 
> --
> 1.8.3.1
> 
> 
> 
> _______________________________________________
> Fuego mailing list
> Fuego@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/fuego

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-18 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-16  3:21 [Fuego] [PATCH] Add gzip and gunzip to the test list which using command tr Wang Mingyu
2018-07-18 18:33 ` Tim.Bird

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.