From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CABC6C43603 for ; Fri, 6 Dec 2019 16:18:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A7B3F2054F for ; Fri, 6 Dec 2019 16:18:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726312AbfLFQSt (ORCPT ); Fri, 6 Dec 2019 11:18:49 -0500 Received: from mx2.suse.de ([195.135.220.15]:38540 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726261AbfLFQSs (ORCPT ); Fri, 6 Dec 2019 11:18:48 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id D39FDB250; Fri, 6 Dec 2019 16:18:47 +0000 (UTC) Date: Fri, 6 Dec 2019 17:18:46 +0100 From: Cyril Hrubis To: ltp@lists.linux.it, linux-fsdevel@vger.kernel.org Subject: Re: [LTP] [PATCH] syscalls/newmount: new test case for new mount API Message-ID: <20191206161846.GC729@rei.lan> References: <20191128173532.6468-1-zlang@redhat.com> <20191203130339.GF2844@rei> <20191206162332.GH4601@dhcp-12-102.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191206162332.GH4601@dhcp-12-102.nay.redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hi! > Sorry I can't be 100% sure what you mean at here. Do you mean as this: > -- > TEST(fsopen(tst_device->fs_type, FSOPEN_CLOEXEC)); > if (TST_RET < 0) { > tst_brk(TFAIL | TTERRNO, > "fsopen %s", tst_device->fs_type); > } > sfd = TST_RET; > tst_res(TPASS, "fsopen %s", tst_device->fs_type); Yes, indeed. The tst_brk() calls exit() so it never returns back to the caller. -- Cyril Hrubis chrubis@suse.cz