From: Rishi k. K R. <ris...@li...> - 2010-04-26 07:51:04
|
The branch, master, has been updated via d9f3d25b9db35073c7104b759d526869d9867692 (commit) from 23e7806fec4c6be42fdf577559df5498cce45118 (commit) - Log ----------------------------------------------------------------- commit d9f3d25b9db35073c7104b759d526869d9867692 Author: Rishikesh K Rajak <ris...@li...> Date: Mon Apr 26 13:19:40 2010 +0530 The test_fs_bind testscript hangs indefinitely when run on a machine where busybox applets are used. The test hangs while trying to restore the mounts after a test run. This happens because the "xargs" applet from busybox doesn't understand the --max-args=1 option. Thus, the mounts from the test are not removed and this goes on in a loop, indefinitely. This could be avoided by using "-n" option which is supported by both the implementations of xargs. Signed-off-by: Suzuki K P <su...@in...> ----------------------------------------------------------------------- Summary of changes: testscripts/test_fs_bind.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testscripts/test_fs_bind.sh b/testscripts/test_fs_bind.sh index 39a237e..9ab533a 100755 --- a/testscripts/test_fs_bind.sh +++ b/testscripts/test_fs_bind.sh @@ -238,7 +238,7 @@ restore_proc_mounts() # new mounts around and will never remove mounts outside the test # directory ( while grep_proc_mounts ; do - grep_proc_mounts | awk '{print $2}' | xargs -r --max-args=1 umount -l + grep_proc_mounts | awk '{print $2}' | xargs -r -n 1 umount -l done ) >& /dev/null # mount list and exit with 0 hooks/post-receive -- ltp |