From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from gnuweeb.org by gnuweeb.org with LMTP id 2j5qEUOxvWI8GzIALGQddQ (envelope-from ) for ; Thu, 30 Jun 2022 14:20:51 +0000 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by gnuweeb.org (Postfix) with ESMTPS id 15B8E7F8DC for ; Thu, 30 Jun 2022 14:20:51 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=dZEV+ett; dkim-atps=neutral Received: by mail-wm1-f54.google.com with SMTP id bi22-20020a05600c3d9600b003a04de22ab6so1774884wmb.1 for ; Thu, 30 Jun 2022 07:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=yD0Xw2sSMYAhL0S3z/tuwMHi/WikSVKA4z/w85i3b9o=; b=dZEV+ettjFtVQy0mNho6ARiJ4LZlvMsf2O/2JgjiPBsVEV0b+IBNPzWBOrI+KSwAzy JX4g8RFfgHxMpNuYh4E2Y7ZoSITlDlfUM5TbhfFYSanRsqI4SWumXA2ogAScoELLMcgG sthp2nW3D4seFsfYYyOjFEmbjVrB6tyzP4YY3bhnUxd8KW6sp6SA03BUOq3K7XoYciV3 P8/ah64QcWNS4cR7eN3S/sSCn5XCsJPvCOckGtXwlPObGjTpZe4XvEJ7Qz45hg+D4aq3 bzTQcDlxvifj9ulGt+Q5vfPrN/UT/lQBLQ6/Icv25msOTRbfiarVB6LBQMENWriGojzj Rh5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=yD0Xw2sSMYAhL0S3z/tuwMHi/WikSVKA4z/w85i3b9o=; b=hWHxBSaB7xuH268O//znw6AlT5tTPYJE4HoUVBGLPc5PLHWSWWlJln8mjakRnq7zIm +O2CMH7zCPjdQvVYs+BHNyVkW+f/PQC0xubKu2rW//nIHf4xWGGyHJtewcrVbkK8kL6i UgbyISl/e6gHHSJJlK/X2BxZ+y7HdJx8gzYlyOc0Ue5NGtD4DE1EkkJBGmmi42CcIyfr yc9mcjL0l5ttV4QYngMOiG89YUAXrGJgbJKYCtXg6qLT87c1hI+iTivv6Xs1l6JdZo5N UbdEguJNzjgoJ14rS2y8MIZAjukr4liM0rjq7YlUM5ddD4Mfs5Pf0OSftgvF7PR9dj14 Y/Qg== X-Gm-Message-State: AJIora8VdTJ8+nidXYB8bMMrk0SyrVDw8iY+bO+Zm5D3rSh16u3kw5ME +yyRiSRWnGjld9VEfWb4qhk= X-Google-Smtp-Source: AGRyM1ulon0PI/rqeNp2BXjdBMYGSWFzKSlp6Bv2icMW9++H4/AoMkJwSkswUdyE54jiC53cVZJRSA== X-Received: by 2002:a7b:c314:0:b0:3a0:5750:1b4a with SMTP id k20-20020a7bc314000000b003a057501b4amr12092481wmj.20.1656598789690; Thu, 30 Jun 2022 07:19:49 -0700 (PDT) Received: from [192.168.43.77] (82-132-232-9.dab.02.net. [82.132.232.9]) by smtp.gmail.com with ESMTPSA id bd5-20020a05600c1f0500b003a02f957245sm2817437wmb.26.2022.06.30.07.19.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Jun 2022 07:19:49 -0700 (PDT) Message-ID: Date: Thu, 30 Jun 2022 15:19:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH for-next 3/3] test range file alloc Content-Language: en-US To: Jens Axboe , io-uring@vger.kernel.org, Ammar Faizi References: <30f95627-eb6c-c743-8fb2-11b0b874e00b@kernel.dk> From: Pavel Begunkov In-Reply-To: <30f95627-eb6c-c743-8fb2-11b0b874e00b@kernel.dk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 6/30/22 14:09, Jens Axboe wrote: > On 6/30/22 3:13 AM, Pavel Begunkov wrote: >> @@ -949,5 +1114,11 @@ int main(int argc, char *argv[]) >> return ret; >> } >> >> + ret = test_file_alloc_ranges(); >> + if (ret) { >> + printf("test_partial_register_fail failed\n"); >> + return ret; >> + } > > If you're returning this directly, test_file_alloc_ranges() should use > the proper T_EXIT_foo return codes. Nobody cared enough to "fix" all tests to use those new codes, most of the cases just return what they've got, but whatever. Same with stdout vs stderr. -- Pavel Begunkov