From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pFMoF-0005Ot-V7 for mharc-grub-devel@gnu.org; Tue, 10 Jan 2023 17:09:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFMoE-0005OO-QB for grub-devel@gnu.org; Tue, 10 Jan 2023 17:09:30 -0500 Received: from mail-il1-x129.google.com ([2607:f8b0:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFMoD-0005ZK-Aj for grub-devel@gnu.org; Tue, 10 Jan 2023 17:09:30 -0500 Received: by mail-il1-x129.google.com with SMTP id m15so7128632ilq.2 for ; Tue, 10 Jan 2023 14:09:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1KyfvNkaProJdnwmKxqhUZ+7a7PxYTo+tRjlAB1T1Fg=; b=bRDd+gcghDwWnMPRHLNTCvKCaM89iijVoSwwDaX7K2MazC9POoNQ9nYnJQDypiAkc2 1QEMLpkq5igGiCMo1mzzdUCnMNxXq9tO+bE0Y59EkbZJIIv8kep0JbJ1uPdnXqbp8MV7 ljnQBh5mzZuoqcEMV1SrqB6QR7fjJXWUhTG9Tyc7tUYoLUUvdEBQHFf/SLhAbu1hJrJf kzi+a8TybwOomOn9Ra3ALbCpbMgqMSYN46ktDkUTHBnDTCFLW06AKHkz+V8V3szsn2Tn masfFUM1FpVzcnc7AGzLfII7TTY0vEqLDM9JeqPAeG/OSCgSiuyAb/JxN8f+AY3P0FEr MLwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1KyfvNkaProJdnwmKxqhUZ+7a7PxYTo+tRjlAB1T1Fg=; b=3HjzHZ9SOOb7Yv2sC0TDa5oDDukMyptx+Ft0T6vWWZYHkAf28tzT6Ktrr/cCh3ymYC yBLqIbHA1iAJNJ16yOZcwsIz2SHJ4ybcw+jWzBz6CjQC2GAsf245+YVI9ghVQw4TFErd 2vUu62tmXPlwz7bo8QhZAMkloWcyFb5GD2DqqBby2FuHE5zAkhDzEO6JsCrWmBYSL2e+ Q0yMUCy32KLEPOz5DGmOgTQgan6zreo92EJrjEILUE2rbzw9PHtmtoGGo8CcGqm4ewQG muQ7W+fGswgtUExAfhdqERv+ryDJr5qK4HYioInmI41MJ7+NZDb1f86orEl2Av3tkEnj Qg9A== X-Gm-Message-State: AFqh2krPPNascPfv0Br1rovl1OIssOBmvpe/AhhTA6MKaHE83TrE/3cx uPbWSInLzW/zSV8DDH3aL2UEPuj75VGWw3AE X-Google-Smtp-Source: AMrXdXsIjqEzgRpf3+UgvvOXkPem4q4bopjOqF2uRTnMXTb7WX7DOvlZiq6G7Erj/qWoVE9ccLHsEQ== X-Received: by 2002:a92:c052:0:b0:303:5d8d:ae71 with SMTP id o18-20020a92c052000000b003035d8dae71mr53121356ilf.7.1673388566592; Tue, 10 Jan 2023 14:09:26 -0800 (PST) Received: from crass-HP-ZBook-15-G2.lan ([199.254.238.56]) by smtp.gmail.com with ESMTPSA id c3-20020a029603000000b0038ac01fb3bcsm3980811jai.14.2023.01.10.14.09.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 14:09:25 -0800 (PST) From: Glenn Washburn To: grub-devel@gnu.org, Daniel Kiper Cc: Patrick Steinhardt , Glenn Washburn Subject: [PATCH 5/6] grub-shell: Add halt_cmd variable to testcase namespace Date: Tue, 10 Jan 2023 16:08:59 -0600 Message-Id: <20230110220900.1248367-6-development@efficientek.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230110220900.1248367-1-development@efficientek.com> References: <20230110220900.1248367-1-development@efficientek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::129; envelope-from=development@efficientek.com; helo=mail-il1-x129.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2023 22:09:31 -0000 This allows test case scripts to use the appropriate halt command for the built architecture to end execution early. Otherwise, test case scripts have no way to know the appropriate mechanism for halting the test case early. Signed-off-by: Glenn Washburn --- tests/util/grub-shell.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in index f41e1a0b68..8db6ba86ec 100644 --- a/tests/util/grub-shell.in +++ b/tests/util/grub-shell.in @@ -331,6 +331,8 @@ fi cfgfile="$work_directory/grub.cfg" cat <${cfgfile} grubshell=yes +halt_cmd=${halt_cmd} +export halt_cmd enable_progress_indicator=0 export enable_progress_indicator EOF -- 2.34.1