Whamcloud - gitweb
LU-6186 tests: avoid errors in using >&- bash close syntax 57/13857/4
authorBruno Faccini <bruno.faccini@intel.com>
Tue, 24 Feb 2015 16:59:26 +0000 (17:59 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 22 Jul 2015 20:28:18 +0000 (20:28 +0000)
commit68e6eb752f0bbc6e400403a8be4ed671938af075
treea79c125aaa9dea86d5d0521f0c4244cf8024dbfe
parent06c83e0109b2e934ac8cbcdcb2a22f184fe546f5
LU-6186 tests: avoid errors in using >&- bash close syntax

Seems that recent EL7 bash version include changes in handling
the ">&-" redirection/close syntax, which cause "Bad file
descriptor" error. Use >/dev/null to avoid this.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: Iac3e54ef69f0c5c241b87a9e307e059974a4caf3
Reviewed-on: http://review.whamcloud.com/13857
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-hsm.sh