From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lLcqW-0004QT-QG for mharc-grub-devel@gnu.org; Sun, 14 Mar 2021 22:20:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLcqV-0004QM-TA for grub-devel@gnu.org; Sun, 14 Mar 2021 22:20:39 -0400 Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]:41904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLcqR-00043l-PT for grub-devel@gnu.org; Sun, 14 Mar 2021 22:20:39 -0400 Received: by mail-oi1-x22f.google.com with SMTP id y131so30203400oia.8 for ; Sun, 14 Mar 2021 19:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SuKW6lSQa5j8jfFAGt9F+d++0YXPoRr2EXpTsbDktUc=; b=vX0iPCF6qhQtiC+6ufBELffePrHBfz/PLiRW+oIuVUCaDGEPbHtVAweX+ZZIP0zGaZ pyogfBWHH+JbhRC4x7IZrZctHEkvArJ3e4Brk2TCTJ3qTGIWlro5aRMFxI71XTQF0Iyr tCQzSfTWwit98PIXbF8YqbODVCD0DMwVNX2gLKQ5JDU68guRT8ij0RsN8aFk+AipBKCV n313KHlS7nOn3262j2i+PdiB2CWPuvbnv98/FF4a3Xaes4tSSDSOd0fxOdPUFVtzQf1P 2Uypu52h352rkmP8E3M1Jlfk+jLOhJuZO2I14ZRqT7FT/3WAXD0YBLxblWcDw0V2togp SErg== 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:mime-version :content-transfer-encoding; bh=SuKW6lSQa5j8jfFAGt9F+d++0YXPoRr2EXpTsbDktUc=; b=ZCtvLtPuMpViM/hLsOVrsykGr0y1FJxYjxRP88Wb1qDD2iBXgzyjiNPw2ZRJdqyht2 as7gi12t1bPofCcjQ02Jpc6J0MEe0q028uGVYqywxMmGttOXrRi4tzBEOGI2QFFNH/qw Rfv3Gc4iVaQOs2gvMSdpGINkPYjP6+KZ8UdXZMDUY4xfMO4LcfYSAZ7dhxcPgVLPtHu3 jWI7/D5yA8cOa23MybYg0AENfVk5YfduQf4I7yZoaVj+/ViQKVhLBGURneYtcfLuXv5U hMCLzqsDIU5+x1KEVpI9VjLDA09TQ/eJxYJytIknQNh4xgK2Gz+g9BfJeEpucbIXTJ/5 30hA== X-Gm-Message-State: AOAM532LYUr4EAQX31nFCEZ5jc4Y+T8DBjWvuDNx9I3gt7mZJE/R2lCG GejqXmE8qyjigXvxdoqxAimf2N4XuD7NXw== X-Google-Smtp-Source: ABdhPJwqODTC/SVJZHZAcNd5rM6EJKuDA1ppWP68l1s8lmC+L/TuKEz5/mRu+bm4fi/80MUdUP23Og== X-Received: by 2002:aca:d0c:: with SMTP id 12mr17727770oin.156.1615774834197; Sun, 14 Mar 2021 19:20:34 -0700 (PDT) Received: from localhost.localdomain ([2605:a601:aac5:3700:b5e5:83e3:99ae:e6e8]) by smtp.gmail.com with ESMTPSA id t22sm6733206otl.49.2021.03.14.19.20.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Mar 2021 19:20:33 -0700 (PDT) From: Glenn Washburn To: grub-devel@gnu.org, Daniel Kiper Cc: Glenn Washburn Subject: [PATCH 0/8] Various fixes/improvements for tests Date: Sun, 14 Mar 2021 21:20:15 -0500 Message-Id: X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::22f; envelope-from=development@efficientek.com; helo=mail-oi1-x22f.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.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2021 02:20:40 -0000 The first 4 patches in the series have already been submitted as part of the GitLab CI patch series. I've included them here because they logically go with the subsequent 4 patches and because I suspect that the GitLab CI patch series is given lower priority than this one will be. So the first 4 patches here where needed for the GitLab CI and thus have been tested as such. Patch #1 is needed when runing on systems that do not have LANG set to something UTF capable. We need UTF to successfully run some of the filesystem tests on internationalization. Patch #2 was required to get the arm-efi tests to be successful, but I wonder if it can change depending on setup (eg. qemu version). Is anyone currently running arm-efi tests successfully? Patch #3 seems obviously the right way to do it. So that makes me question why it wasn't done this way to begin with. Am I missing something? Was there a reason not to do it this way (perhaps running these tests on OS/arches I'm not)? Patch #4 was not strictly necessary for the GitLab CI, but it was valuable in debugging test failures (we really only care about the failure code of grub-shell). Patches #5 and #6 decrease false positive test results, that is tests shown as failing that are not actually failing (ie something prevented the test from actually running). Patch #7 marks tests as skipped when they are skipped, instead of marking them with success as is currently done. Patch #8 is trivial Glenn Glenn Washburn (8): tests: Make sure LANG is set properly for iso9660_test tests: Fix partmap_test for arm*-efi, disk numbering has changed tests: When checking squashfs fstime, use superblock last modified time tests: Fail immediately when grub-shell fails and do not occlude the error code tests: Make setup errors in grub-fs-tester hard errors tests: A failure of mktemp should cause the test script to exit with code 99 tests: Exit with skipped exit code when test not performed tests: Use @BUILD_SHEBANG@ autoconf var instead of literal shell tests/ahci_test.in | 18 +++++++++++------- tests/cdboot_test.in | 11 ++++++----- tests/core_compress_test.in | 8 +++++--- tests/ehci_test.in | 18 +++++++++++------- tests/f2fs_test.in | 2 +- tests/fddboot_test.in | 19 ++++++++++--------- tests/gettext_strings_test.in | 2 +- tests/grub_cmd_date.in | 5 +++-- tests/grub_cmd_set_date.in | 6 +++--- tests/grub_cmd_test.in | 7 ++++--- tests/grub_script_blockarg.in | 4 ++-- tests/grub_script_expansion.in | 3 ++- tests/gzcompress_test.in | 3 ++- tests/hddboot_test.in | 9 +++++---- tests/iso9660_test.in | 6 ++++++ tests/lzocompress_test.in | 3 ++- tests/netboot_test.in | 15 ++++++++------- tests/ohci_test.in | 18 +++++++++++------- tests/partmap_test.in | 18 +++++++++--------- tests/pata_test.in | 13 +++++++------ tests/pseries_test.in | 2 +- tests/syslinux_test.in | 2 +- tests/test_sha512sum.in | 7 ++++--- tests/uhci_test.in | 18 +++++++++++------- tests/util/grub-fs-tester.in | 17 ++++++++++++----- tests/xzcompress_test.in | 3 ++- 26 files changed, 140 insertions(+), 97 deletions(-) -- 2.27.0