From: David Howells <dhowells@redhat.com>
To: Eric Biggers <ebiggers@google.com>
Cc: dhowells@redhat.com, Alex Markuze <amarkuze@redhat.com>,
fstests@vger.kernel.org, ceph-devel@vger.kernel.org,
linux-fsdevel@vger.kernel.org
Subject: Re: Error in generic/397 test script?
Date: Mon, 20 Jan 2025 14:20:06 +0000 [thread overview]
Message-ID: <1201003.1737382806@warthog.procyon.org.uk> (raw)
In-Reply-To: <1113699.1737376348@warthog.procyon.org.uk>
generic/429 can also hang:
show_file_contents()
{
echo "--- Contents of files using plaintext names:"
cat $SCRATCH_MNT/edir/@@@ |& _filter_scratch
cat $SCRATCH_MNT/edir/abcd |& _filter_scratch
echo "--- Contents of files using no-key names:"
cat ${nokey_names[@]} |& _filter_scratch | _filter_nokey_filenames edir
}
...
nokey_names=( $(find $SCRATCH_MNT/edir -mindepth 1 | sort) )
printf '%s\n' "${nokey_names[@]}" | \
_filter_scratch | _filter_nokey_filenames edir
show_file_contents
on the 'cat ...' at the end of show_file_contents(). A check that
${nokey_names[0]} is not nothing might be in order.
However, in this case (in which I'm running these against ceph), I don't think
that the find should return nothing, so it's not a bug in the test script per
se.
David
next prev parent reply other threads:[~2025-01-20 14:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-20 12:32 Error in generic/397 test script? David Howells
2025-01-20 14:20 ` David Howells [this message]
2025-01-20 15:43 ` David Howells
2025-01-20 17:25 ` Eric Biggers
2025-01-20 17:41 ` David Howells
2025-01-20 17:46 ` Eric Biggers
2025-01-20 17:53 ` Eric Biggers
2025-01-20 17:19 ` Eric Biggers
2025-01-20 17:17 ` Eric Biggers
2025-01-20 17:26 ` David Howells
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1201003.1737382806@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=amarkuze@redhat.com \
--cc=ceph-devel@vger.kernel.org \
--cc=ebiggers@google.com \
--cc=fstests@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox