Whamcloud - gitweb
LU-6058 test: log to stderr 55/13155/2
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 19 Dec 2014 18:09:51 +0000 (12:09 -0600)
committerAndreas Dilger <andreas.dilger@intel.com>
Sat, 20 Dec 2014 17:52:49 +0000 (17:52 +0000)
commite00d24d8d7642cf5897799226b84ce5a71913dc0
tree13bed56005cfe7ac6e06ff500be0e3a188b43d75
parente8214d6bd4ccc3ff386c77904664c60f1848ef11
LU-6058 test: log to stderr

In test-framework.sh's log() function print the message to stderr
instead of stdout. This ensures that the message will not be not
captured by command substitution. Similarly print bash stack traces to
stderr from error().

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: If9ca4af1c8d66f9bb3767f4fc3c04fb6966de915
Reviewed-on: http://review.whamcloud.com/13155
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/test-framework.sh