Skip to content

Commit

Permalink
test/cmd-discard: use correct skip exit value
Browse files Browse the repository at this point in the history
It's T_EXIT_SKIP, not T_SETUP_SKIP.

Fixes: 244be25 ("test: add discard cmd tests")
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Oct 14, 2024
1 parent 8fdf201 commit 2fe16b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cmd-discard.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ int main(int argc, char *argv[])
int cmd_op;

if (argc != 2)
return T_SETUP_SKIP;
return T_EXIT_SKIP;
filename = argv[1];

fd = open(filename, O_DIRECT | O_RDONLY | O_EXCL);
Expand Down

0 comments on commit 2fe16b1

Please sign in to comment.