Hi,
attached is a patch for the stress test scripts. The first one (002)
works arround a bug in bash (in case /bin/sh is bash) where it doesn't
discard trailing whitespace when comparing two numbers. lstat64 will
always output a line containing "Links:", so $x should never be empty.
The second one (004) adds a "_require_scratch" to the test, otherwise
it fails when run as patch of a batch because the scratch partition is
still mounted from the previous test.
The last one was the product of me trying to figure out if a failure
(see other email) was because of the script or a real failure. It just
moves the RESTORE_DIR and RESTORE_SUBDIR (this one is not really
needed) to the top of the substitution list, otherwise you end up with
something like "SCRATCH_MNT/some/random/directory".
Thanks,
--
Marcelo
stress.patch
Description: Text document
|