public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v4 1/1] mount03: Convert to new API
Date: Mon, 22 Aug 2022 19:06:49 +0200	[thread overview]
Message-ID: <YwO3qbIO32hvryjw@pevik> (raw)
In-Reply-To: <20220822155413.24814-1-pvorel@suse.cz>

Hi all,

when running in loop, I sometimes still get error:

i=0; while true; do i=$((i+1)); echo "== $i =="; ./mount03  || break; done
...
=== 100 ===
...
tst_device.c:434: TINFO: No device is mounted at mntpoint
tst_test.c:1599: TINFO: Testing on ext4
tst_test.c:1065: TINFO: Formatting /dev/loop0 with ext4 opts='' extra opts=''
mke2fs 1.46.5 (30-Dec-2021)
mount03.c:150: TINFO: Testing flag MS_RDONLY
mount03.c:48: TPASS: otfd = open(file, O_CREAT | O_RDWR, 0700) : EROFS (30)
mount03.c:150: TINFO: Testing flag MS_NODEV
mount03.c:153: TFAIL: mount(tst_device->dev, MNTPOINT, tst_device->fs_type, tc->flag, NULL) failed: EINVAL (22)
mount03.c:150: TINFO: Testing flag MS_NOEXEC
mount03.c:153: TFAIL: mount(tst_device->dev, MNTPOINT, tst_device->fs_type, tc->flag, NULL) failed: EINVAL (22)
mount03.c:150: TINFO: Testing flag MS_RDONLY
mount03.c:153: TFAIL: mount(tst_device->dev, MNTPOINT, tst_device->fs_type, tc->flag, NULL) failed: EINVAL (22)
mount03.c:150: TINFO: Testing flag MS_NOSUID
mount03.c:153: TFAIL: mount(tst_device->dev, MNTPOINT, tst_device->fs_type, tc->flag, NULL) failed: EINVAL (22)
mount03.c:150: TINFO: Testing flag MS_NOATIME
mount03.c:111: TPASS: st.st_atime == atime (1661183501)
...
Summary:
passed   32
failed   4
broken   0
skipped  0
warnings 0

Any idea what can be wrong?

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2022-08-22 17:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22 15:54 [LTP] [PATCH v4 1/1] mount03: Convert to new API Petr Vorel
2022-08-22 17:06 ` Petr Vorel [this message]
2022-08-23  3:58   ` xuyang2018.jy
2022-10-13 11:31     ` Richard Palethorpe
2022-10-18  6:09       ` xuyang2018.jy
2022-10-18  8:44         ` Richard Palethorpe
2022-10-18  7:19   ` xuyang2018.jy

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=YwO3qbIO32hvryjw@pevik \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    /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