Whamcloud - gitweb
LU-4329 tests: initialize $PREV_RESULT in wait_update() 49/8449/2
authorEmoly Liu <emoly.liu@intel.com>
Wed, 27 Nov 2013 09:25:01 +0000 (17:25 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 11 Dec 2013 07:50:52 +0000 (07:50 +0000)
commit17e28a2c8d8c03ca8640f3595f9f7c53d76c59da
tree98482b29e06dde2002980ad25e67d72461bbda2b
parent002bdc78463837327c3db7f6c42dc546f16c4417
LU-4329 tests: initialize $PREV_RESULT in wait_update()

Initialize variable PREV_RESULT in wait_update() to avoid useless
output like "Changed after 0s: from '' to '1'".

Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: I2aea8547892a36e92e8d0c54ac541397a102e76c
Reviewed-on: http://review.whamcloud.com/8449
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/test-framework.sh