Whamcloud - gitweb
LU-1538 tests: sanity.sh failed tests to clean up after themselves
authorOleg Drokin <green@whamcloud.com>
Sat, 3 Nov 2012 19:36:55 +0000 (15:36 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 7 Nov 2012 16:23:33 +0000 (11:23 -0500)
commit7e846c8ba2c20cd34c85efe3da6ee075701628d6
treedb0f8a8afd9d0905c81f8fafe0d6f0da8598acac
parent5d57988013882e6690cc22ada148a7f215df64db
LU-1538 tests: sanity.sh failed tests to clean up after themselves

commit 467cf22b changed behavior of error() function to abort the
test right away, as the result a lot of older tests were leaving
piles of files behing causing subsequent tests to fail spuriously.
Also tests like 32[ijkl] left mountpoints on lutre so subsequent test
65j is no longer able to umount lustre and hands there indefinitely.

This patch adds cleanups in tests: 24v, 27m, 32[ijkl]

Additionally tests 17m, 27m, 59 were making unsafe assumptions about
how long would it take for objects to be deleted. Removed explicit sleep
there to calls to wait_delete_completed

test 110: fixed a typo with quotes, autogenerate long filenames

test 72a 80: removed unnecessary "true" call.

Change-Id: I1c1002bfad278b767e45301b56e74688690690ee
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/4454
Tested-by: Hudson
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity.sh