mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
src/locktest: Remove unnecessary sleep
There is no need to sleep because we asked for debugging. Remove extra sleep code. Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
@@ -69,7 +69,6 @@ extern int h_errno;
|
||||
|
||||
#define RAND() (rand())
|
||||
#define SRAND(s) (srand(s))
|
||||
#define SLEEP(s) (sleep(s))
|
||||
|
||||
#define MIN(A,B) (((A)<(B))?(A):(B))
|
||||
#define MAX(A,B) (((A)>(B))?(A):(B))
|
||||
@@ -1037,10 +1036,6 @@ main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
}
|
||||
if (debug > 1) {
|
||||
fprintf(stderr, "server sleeping ...\n");
|
||||
SLEEP(1);
|
||||
}
|
||||
if(tests[index][TEST_NUM] != 0) {
|
||||
if(last_test != tests[index][TEST_NUM]) {
|
||||
test_count++;
|
||||
|
||||
Reference in New Issue
Block a user