All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Schmitt" <scdbackup@gmx.net>
To: grub-devel@gnu.org
Subject: Is the last blank in the output of grub-fstester a reliable feature ?
Date: Sun, 05 Mar 2023 11:42:08 +0100	[thread overview]
Message-ID: <6061279009596439971@scdbackup.webframe.org> (raw)

Hi,

i am working on a patch to let GRUB delay the execution of a ISO 9660
SUSP CE hop until the current SUSP area is consumed. Currently it hops
immediately which is wrongly relying on implementation details of the
ISO producer. SUSP 1.12 specs are clear. Linux obeys them.

The code works but the test makes problems because grub-fstest adds a
blank to the filename. That's probably a preparation for the next name
to be listed and a bit inappropriate with the last and only name of the
output list.

Is this behavior of grub-fstest reliable ?
Do other tests already handle such blanks ? If so: how ?
May i expect the trailing blank in the test ? Like:
  # grub-fstest adds a blank to the name. So expect that blank too.
  if [ "${ret:-0}" -ne 0 -o x"$output" != x"RockRidgeName:x " ]; then

I fail to find the answers in ./grub-fs-tester .


Have a nice day :)

Thomas



                 reply	other threads:[~2023-03-05 10:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=6061279009596439971@scdbackup.webframe.org \
    --to=scdbackup@gmx.net \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.