Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp272289pxb; Wed, 6 Oct 2021 04:49:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0ZKkv3I21DpZyx23iTJ8aTLEdBUIwW9Z7gFm1UR81M+jeOCnI6juW6yAZlBk1QuKTiRlM X-Received: by 2002:a05:6402:510b:: with SMTP id m11mr33470563edd.258.1633520998223; Wed, 06 Oct 2021 04:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633520998; cv=none; d=google.com; s=arc-20160816; b=b+MjyDu1GckS3ndG8wSx1BnV/CoqZxU3MT4BbRj/xEt7qdfeQXEC5NHoXJ15dNWc3F M0P4UnaNu1/HcyxR2xDo/UVVOkscPEKNBh8WgiNVYPClbKjW3MzvWXYJQy8HCQR9eNLw yi9JasM8qvddl6ABjzcn2kotfLtd5EhF43eb/0z10ikXnMIhdbaRKLw6s8u9jQ3mv178 dNpW3GRKLxW6W8dT4142WFvOlc8bGyoAKZ940R3jH7gXXPhoR5BV7yVyi7UBNBGVYuNq jUnJUZYC+fN0issdMKxW27Ak9rWumAhFyDcuHAS4WTzzebwCyTSewwi0GXxBYoWXoGE9 C2fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vvUDXRfQZSa/sD1uRH4Cu4LlbkozKmdcsriUWZz/OOk=; b=1Lu/YQhwH6lepKuHsXuXBfsXgoPSgHfR8x7sjEmArodS+XPZ4bdlDJgFEsVRIiLKKa 8MU61gCNQ37UqvypL+4kkIuID8HW0o7vGhh7r0fQqEufIWC9vfT2jNAoa5kneDjzWCNu dqwvrnjG1pQYKoqGyo55X1ToaeYQUiqKxwr0ssYt3RkRMzHIYKuLzs3SSskbiu15eue0 BVJb61rwAvwIWzDAkeY5tOnQ+lXRtuEywYH1xjIBGF8E5UlZvynhglOJnmidkR7HrVkR cKBOKbpNgpfTyC138YxId6molvQAazYRx3NQcrLeVzjB/n/WkS55az3GwZzsc7/YkJXB rUCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HwwJxf46; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g2si11908997edz.500.2021.10.06.04.49.33; Wed, 06 Oct 2021 04:49:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HwwJxf46; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238465AbhJFLtx (ORCPT + 99 others); Wed, 6 Oct 2021 07:49:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238417AbhJFLtt (ORCPT ); Wed, 6 Oct 2021 07:49:49 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3F5BC061760; Wed, 6 Oct 2021 04:47:57 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id g10so8848194edj.1; Wed, 06 Oct 2021 04:47:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vvUDXRfQZSa/sD1uRH4Cu4LlbkozKmdcsriUWZz/OOk=; b=HwwJxf46zyePUemdn1L5zDaG+s2+3LcVZyR5YKrzlLuopAh9rPr1XWjHYXV0UfNsYM SwbinOo9o2E8ovGpVaFFm0+KNL1olzSz2No1p80h0z9dlsXHzgRoJObhb+eTb9ZrQhFu Rg+3O9FWx8nLyWCWVhRg2p2JUhdB0udtivkUmsVBOWDoZqcFf0a2pwA0cWdlE45l5TOx aEBMPkl8hh4YX8daRAuQ4EvmX11zWm44khPbu289NUXVuzaYEpsu/4GKdLiBuHZZQw71 zkSqV/jWihdwOjkfUa62hBLAc4SuQvKUjcSDl5uKDcY0Dkeecn/+Yy2Ois6o0U14dWZJ YfZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vvUDXRfQZSa/sD1uRH4Cu4LlbkozKmdcsriUWZz/OOk=; b=52j+zzaMTYILSt8ujB3/4reLUu1fXRGxfryFVWZHmyGXUWNC8AZ70Ib/ZmHAcY7KIV bQ0m+hLk+TJTgcnf6V+gaH1FsoZiQu2gVCfHpVMu32QRdLArFU8A1FPgizIc/QKs7vYK n9BSEIL0+RalwxX3OC3pLZH/ZO7hGGLvTGfWHZyf2Iv6fhdE+hoa1HDGadArNStioj58 FjVROoGrC0eJIgYsjWZ5WNGsYjgLFA8+kyvwX4OwmgIWoeFzO9zbBF2KoZ5onQO90qZC uODIKSMbIkCtGBmgRv9H2XgFXllabZmnlrm3plP+VkZeRkOD4R/w8KhKdj6BVwQPGt7B 2jgg== X-Gm-Message-State: AOAM532vzjLpt1fIkH/ZbeiMQxA1zGU/jpEP319rAVWTQyttFOok8Buk tTN4XgqLaK1QRlV1DXCtwCU= X-Received: by 2002:a50:becf:: with SMTP id e15mr33689336edk.114.1633520874695; Wed, 06 Oct 2021 04:47:54 -0700 (PDT) Received: from localhost.localdomain ([95.76.3.69]) by smtp.gmail.com with ESMTPSA id y40sm1402187ede.31.2021.10.06.04.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Oct 2021 04:47:54 -0700 (PDT) From: Leonard Crestez To: Jakub Kicinski , Shuah Khan , David Ahern Cc: "David S. Miller" , Ido Schimmel , Seth David Schoen , netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 03/11] selftests: net/fcnal: Non-zero exit on failures Date: Wed, 6 Oct 2021 14:47:19 +0300 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Test scripts must report 'pass' or 'fail' via exit status, not just logging. Signed-off-by: Leonard Crestez --- tools/testing/selftests/net/fcnal-test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/net/fcnal-test.sh b/tools/testing/selftests/net/fcnal-test.sh index 43ea5c878a85..9cf05e6e0d9b 100755 --- a/tools/testing/selftests/net/fcnal-test.sh +++ b/tools/testing/selftests/net/fcnal-test.sh @@ -4015,5 +4015,6 @@ done cleanup 2>/dev/null printf "\nTests passed: %3d\n" ${nsuccess} printf "Tests failed: %3d\n" ${nfail} +exit $(( nfail != 0 )) -- 2.25.1