Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp533080lqr; Wed, 5 Jun 2024 13:06:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrj9sSlU0D9mh++8Q5SyeuGJBD2B2hqvbSlafoq+vco99FbMGbwHSNKY3Q2kECaThD8i2Pcxt1qKV4F9saq2k1Svgx/HT0JRaYTh8TgQ== X-Google-Smtp-Source: AGHT+IFkHhxYWLvKjSIB+teRnPR+FqQlfO6MXgn4B24D/qT5zfJWp26vnmH9bVJoLdFzYW6/lPyw X-Received: by 2002:a17:906:2b54:b0:a68:2f99:a3cb with SMTP id a640c23a62f3a-a699f5619c1mr242892166b.24.1717617964762; Wed, 05 Jun 2024 13:06:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717617964; cv=pass; d=google.com; s=arc-20160816; b=N2o66EQECRX6mur13Sf9AbgadPmQlB61fnMmrb8g2gL1NGpZ6lfQZZisZVAQF6SHDu TiGFSba7GpgQCQq3wxDT6KGYS9sBrzUMKtUxRmF1o8IRoHy/Vh31UW0uvmO8Le11l9Ln Jvs42C7kFpTpgNcMbacY5XTTeD7r13KB4uKgupRYM8P/uNERv1C7ySbE2Pi0vF659b4p /Z15MCCbUnJK6zNP5SZSLNpCgql+b+u3oqE9VBUXeBdewNDbPk/ICy2CCQXlvoN8cs0W v3veEvR8H5ElqVYO3fV8kouXzxQuepAzvrRIzGo+dhNu+7KSnYhiJOjt8v4OTi07PZqu lM5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=GlvtQAQNSdaiId4daySDpncachwYiRzgRH0tkcL8U5E=; fh=mHuSVf8O5ifqWV06R2D89FWOo1nSbdAL6EnedBDxe+g=; b=hjJ2YRRxcfqIw7/YCojf0V4Z4DO0y3NVh++OGaJ2MEz5VtYx2uujLt3MidPWf+CjTD lS08G/gQVrby5xj97qDTVKbghqpNCj2RNazzrVuw6XNo6hhr6JszuyTNcjlzR1oVIf3B WsTpfLyvBioJIa+SBgbk0hA2S+62YT7vZEbBGY1UN3RF6SatUbGbXQySiQ6kXWrZVXvW tzvekeoWJ3Jo5zyrE6UAV4YuKxMTIAdbd8x+khu6uzvCkSSo7kCO+MTCRpFD4LzUJ7S+ gNDXWoEpghRIGvE8PSrCqVZKpEAOf9cAz6BOJujdPRWX/y8IzUujDl2NVZamYEE6X7z8 9nBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=dilger.ca); spf=pass (google.com: domain of linux-ext4+bounces-2783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2783-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6917faa91asi296430966b.47.2024.06.05.13.06.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 13:06:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4+bounces-2783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=dilger.ca); spf=pass (google.com: domain of linux-ext4+bounces-2783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2783-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7A45E1F22913 for ; Wed, 5 Jun 2024 20:06:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 776AD158218; Wed, 5 Jun 2024 20:05:50 +0000 (UTC) X-Original-To: linux-ext4@vger.kernel.org Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B87E9155356 for ; Wed, 5 Jun 2024 20:05:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=3.97.99.32 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717617950; cv=none; b=o0he7YXpgxcu/4mE5NQboMdanw8Pmks1/Banz2avxjpI7AVdKuUI504Bkevmjdtui+/Woo3aRT6+Q8c+srXdhvq90lctDXikrhwYRXo09CLZLU/yI/0hnVmKdSIvFQXue4Hr+qqLLY6CHVZnzzt+4NzhEn1ORLevfZFjUAZAHVo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717617950; c=relaxed/simple; bh=NiTzQbVy+xJbbWsMbs38X93NHu+c1xKnhli4RK006qI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SJaGEOrK/AXhr1r1RwKhc3/jIgiIeuJnEPEfOvKbMVgnPWO7o4wqOFZLVybv1bFioe1SfVfXFyJFyG2UtT989Sx5Mi+/Q8TMgHoa/uzRm39Oq94CGy3zgLKW4It2VE8NFTtEEbTmLgJ31P4CjbXdK4P+H3ZVDnekc/l+6JL86X0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dilger.ca; spf=pass smtp.mailfrom=dilger.ca; arc=none smtp.client-ip=3.97.99.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dilger.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dilger.ca Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTPS id ElXusWF8T2Ui5EwrjsOxiE; Wed, 05 Jun 2024 20:04:11 +0000 Received: from webber.adilger.int ([70.77.200.158]) by cmsmtp with ESMTP id EwrisLxWOWhyfEwrisoZjH; Wed, 05 Jun 2024 20:04:11 +0000 X-Authority-Analysis: v=2.4 cv=MenPuI/f c=1 sm=1 tr=0 ts=6660c4bb a=0Thh8+fbYSyN3T2vM72L7A==:117 a=0Thh8+fbYSyN3T2vM72L7A==:17 a=RPJ6JBhKAAAA:8 a=koeibLOpxPZKHOG3OBkA:9 a=fa_un-3J20JGBB2Tu-mn:22 From: Andreas Dilger To: tytso@mit.edu Cc: linux-ext4@vger.kernel.org, Andreas Dilger Subject: [PATCH] tests: write f_badjour_encrypted output to log Date: Wed, 5 Jun 2024 14:03:52 -0600 Message-ID: <20240605200408.55221-1-adilger@dilger.ca> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfETnZ1WHcIOUr0J8fh7OvOyEXfge6jdtudPjsYSSDtJQTsDOMMPwqxBp3q4M2WgnQFHjKbNU5YEN9S2Guxt3+ew8ZCGx/Hy4qPoqIWb7ZbBkSq/+Sc12 HpmnBkDslvdfxk/KiUcYREpze3QlTY9b7tWbnPB04CqeudnSbY6j5TS9b8Olo1G7DDxy7c39+RDRbo4ypSMDNa1fQr62+2/YqwhV2+SglP00tDhRRRbpeC23 9Xbhdlj8UKcADDkYZJJhEg== Write the mke2fs and debugfs output from f_badjour_encrypted/script into a log file instead of stdout/stderr, so that it doesn't mess up the "make check" output, and is available if this test ever fails. Fixes: b0cd09e5 ("e2fsck: don't allow journal to have encrypt flag") Signed-off-by: Andreas Dilger --- tests/f_badjour_encrypted/script | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/f_badjour_encrypted/script b/tests/f_badjour_encrypted/script index e6778f1d..27b1026b 100644 --- a/tests/f_badjour_encrypted/script +++ b/tests/f_badjour_encrypted/script @@ -3,9 +3,9 @@ if ! test -x $DEBUGFS_EXE; then return 0 fi -touch $TMPFILE -$MKE2FS -t ext4 -b 1024 $TMPFILE 2M -$DEBUGFS -w -R 'set_inode_field <8> flags 0x80800' $TMPFILE +touch $TMPFILE >> $LOG 2>&1 +$MKE2FS -t ext4 -b 1024 $TMPFILE 2M >> $LOG 2>&1 +$DEBUGFS -w -R 'set_inode_field <8> flags 0x80800' $TMPFILE >> $LOG 2>&1 SKIP_GUNZIP="true" . $cmd_dir/run_e2fsck -- 2.44.0