From patchwork Fri Sep 3 17:11:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 44841 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 34D063847809 for ; Fri, 3 Sep 2021 17:12:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 34D063847809 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1630689173; bh=+YwBHuPhZiifuVE3FNufY3CquCFyiq5fkp9EfubBHBM=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=CoE0NXabYJENZ2LmO7l1PVteA1DOZIKLRbnwtrbd1d7WaXb8yqUB9O46VKL6Cm/nT koLUMuqReauhwvRwowI+mhqMiwIZ225Hhmg/L8BVWX1OlPGO9pDUBwlPYJQshaIipx I2NXcEdLFjP8okUP6tmnGv6NICCy3svDy1v2sTJs= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by sourceware.org (Postfix) with ESMTPS id CAB73384B13A for ; Fri, 3 Sep 2021 17:11:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CAB73384B13A Received: by mail-qt1-x82b.google.com with SMTP id c19so5094226qte.7 for ; Fri, 03 Sep 2021 10:11:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+YwBHuPhZiifuVE3FNufY3CquCFyiq5fkp9EfubBHBM=; b=BplIb+VMyOYJc21j1dtisaBCrdDvbI3+WexwExBLXllJOy2FLUDcJVh7Hbs2V5Ek7n utR3QNzVfNfmlR6yQ2hRjV0oobpQfe4t02Of/iTfFQkONiBO4uxcxcsh+bpLCQ1Ryuyx jNaiuwWOj9TEI/O5nDcIddx5YDX5bLB31Q8nAp4WHuobbVEu1xPS0GVx9B9+HMPc0+eT eipP/YDTEshxRBLW/Qgbl9TogzmI1CxyQ89Jwe2/x9NaF5R2YEqErfH1IE+r5+FKx+Vf CCpy6YbtODRHx0jgs32vQwbZnTMX1eGAxx3MVOxW7h/kR5UJfvmcchZHnzyETqLNnyku oKoQ== X-Gm-Message-State: AOAM532L4sBg5rVCexwHvkgjzAa+rhjViwjABVf9zShAaeTx0RhTgoGf oQdNOopwa7WRTygkDI7db9Iz2HlG8lNreg== X-Google-Smtp-Source: ABdhPJy7cs1uNc1kIphLMSYIV/e9aLDc3/3hNlrfug8tvPwVqGyKKHLU/diEQ01pOgIEETNKnKjSAw== X-Received: by 2002:ac8:7010:: with SMTP id x16mr4747122qtm.293.1630689111291; Fri, 03 Sep 2021 10:11:51 -0700 (PDT) Received: from birita.. ([2804:431:c7cb:733d:fff8:7487:556e:e293]) by smtp.gmail.com with ESMTPSA id r4sm3207071qtw.5.2021.09.03.10.11.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Sep 2021 10:11:51 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH v3 2/7] support: Fix getopt_long with CMDLINE_OPTIONS Date: Fri, 3 Sep 2021 14:11:39 -0300 Message-Id: <20210903171144.952737-3-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210903171144.952737-1-adhemerval.zanella@linaro.org> References: <20210903171144.952737-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Adhemerval Zanella via Libc-alpha From: Adhemerval Zanella Netto Reply-To: Adhemerval Zanella Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" --- support/support_test_main.c | 1 - support/test-driver.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/support/support_test_main.c b/support/support_test_main.c index 07e3cdd173..ab1a475192 100644 --- a/support/support_test_main.c +++ b/support/support_test_main.c @@ -42,7 +42,6 @@ static const struct option default_options[] = { TEST_DEFAULT_OPTIONS - { NULL, 0, NULL, 0 } }; /* Show people how to run the program. */ diff --git a/support/test-driver.h b/support/test-driver.h index 8d4f38275d..3e54814a03 100644 --- a/support/test-driver.h +++ b/support/test-driver.h @@ -60,6 +60,7 @@ enum { "verbose", no_argument, NULL, 'v' }, \ { "direct", no_argument, NULL, OPT_DIRECT }, \ { "test-dir", required_argument, NULL, OPT_TESTDIR }, \ + { NULL, 0, NULL, 0 } /* The directory the test should use for temporary files. */ extern const char *test_dir;