X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Frename.pl;h=3629553fea48f514182507041015c0c5962b6e32;hb=68330379b01cb6bf9b24235a80a4666d24c0e343;hp=ee9bb4d228428a6c9be4b425db82eb354442d2b6;hpb=c5050e412572b00cbe93d8517d2d1f767bebfa92;p=fs%2Flustre-release.git diff --git a/lustre/tests/rename.pl b/lustre/tests/rename.pl index ee9bb4d..3629553 100644 --- a/lustre/tests/rename.pl +++ b/lustre/tests/rename.pl @@ -93,7 +93,7 @@ for (my $i=1; $i<=$num_threads; $i++) { # Wait for all our threads to finish. my $child = 0; do { - $child = waitpid(-1, WNOHANG); + $child = waitpid(-1, 0); } until $child > 0; sleep 1; @@ -129,7 +129,7 @@ sub usage () { print "\t--mountpt\tlocation of lustre mount\n"; print "\t--num_mounts=n\tnumber of lustre mounts to test across, default=-1 (single mount point without numeric suffix)\n\n"; print "example: $0 --mountpt=/mnt/lustre --num_mounts=2 --iterations=50\n"; - print " will perform 50 interations in /mnt/lustre1 and /mnt/lustre2\n"; + print " will perform 50 iterations in /mnt/lustre1 and /mnt/lustre2\n"; print " $0 --mountpt=/mnt/lustre --num_mounts=-1 --iterations=50\n"; print " will perform 50 iterations in /mnt/lustre only\n\n"; exit;