diff options
author | Dylan Yudaken <dylany@fb.com> | 2022-04-22 09:01:29 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-22 11:18:08 -0600 |
commit | 16d9366b9f9ca44d2a4da7320663a06fb9df7a28 (patch) | |
tree | 89ebbbd85274edab125d8dc3234cdaac09341eb9 | |
parent | 736667aa9e31cecded9474d28f5666fa900d0b77 (diff) | |
download | liburing-16d9366b9f9ca44d2a4da7320663a06fb9df7a28.tar.gz liburing-16d9366b9f9ca44d2a4da7320663a06fb9df7a28.tar.bz2 |
test: use unique filenames
Allow tests to be run in parallel
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220422160132.2891927-5-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | test/openat2.c | 6 | ||||
-rw-r--r-- | test/sq-poll-dup.c | 2 | ||||
-rw-r--r-- | test/sq-poll-share.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/test/openat2.c b/test/openat2.c index 379c61e..34c0f85 100644 --- a/test/openat2.c +++ b/test/openat2.c @@ -246,12 +246,12 @@ int main(int argc, char *argv[]) } if (argc > 1) { - path = "/tmp/.open.close"; + path = "/tmp/.open.at2"; path_rel = argv[1]; do_unlink = 0; } else { - path = "/tmp/.open.close"; - path_rel = ".open.close"; + path = "/tmp/.open.at2"; + path_rel = ".open.at2"; do_unlink = 1; } diff --git a/test/sq-poll-dup.c b/test/sq-poll-dup.c index 0076a31..6a72b82 100644 --- a/test/sq-poll-dup.c +++ b/test/sq-poll-dup.c @@ -164,7 +164,7 @@ int main(int argc, char *argv[]) if (argc > 1) { fname = argv[1]; } else { - fname = ".basic-rw"; + fname = ".basic-rw-poll-dup"; t_create_file(fname, FILE_SIZE); } diff --git a/test/sq-poll-share.c b/test/sq-poll-share.c index 2f1c1dd..7bb7626 100644 --- a/test/sq-poll-share.c +++ b/test/sq-poll-share.c @@ -82,7 +82,7 @@ int main(int argc, char *argv[]) if (argc > 1) { fname = argv[1]; } else { - fname = ".basic-rw"; + fname = ".basic-rw-poll-share"; t_create_file(fname, FILE_SIZE); } |