public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Wei Gao via ltp <ltp@lists.linux.it>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v4 2/3] ci: Add mount operation for busybox
Date: Thu, 13 Nov 2025 01:52:31 +0000	[thread overview]
Message-ID: <20251113015242.799-3-wegao@suse.com> (raw)
In-Reply-To: <20251113015242.799-1-wegao@suse.com>

Busybox df implementation require mounting (unlike coreutils
implementation). Following error can be found during alpine ci:

runtest TINFO: * shell/tst_format_device.sh
tst_format_device 1 TINFO: Running: tst_format_device.sh
tst_format_device 1 TINFO: Tested kernel: Linux 0ba9f024d6b7 6.11.0-1018-azure #18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025 x86_64 Linux
tst_format_device 1 TINFO: Using /tmp/LTP_tst_format_device.XXXXOajpgN as tmpdir (UNKNOWN filesystem)
tst_device.c:98: TINFO: Found free device 0 '/dev/loop0'
tst_format_device 1 TINFO: Formatting ext2 with opts='-b 1024 /dev/loop0 5m'
tst_format_device 1 TINFO: timeout per run is 0h 5m 0s
tst_format_device 1 TPASS: device formatted
df: /dev/loop0: can't find mount point
tst_format_device 2 TFAIL: df /dev/loop0 | grep -q /dev failed unexpectedly
tst_format_device 3 TINFO: AppArmor enabled, this may affect test results
tst_format_device 3 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root)
tst_format_device 3 TINFO: loaded AppArmor profiles: none

Signed-off-by: Wei Gao <wegao@suse.com>
---
 lib/newlib_tests/shell/tst_format_device.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/newlib_tests/shell/tst_format_device.sh b/lib/newlib_tests/shell/tst_format_device.sh
index dbe4ea9e7..b7366517e 100755
--- a/lib/newlib_tests/shell/tst_format_device.sh
+++ b/lib/newlib_tests/shell/tst_format_device.sh
@@ -2,7 +2,7 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 # Copyright (c) 2022 Petr Vorel <pvorel@suse.cz>
 
-TST_FORMAT_DEVICE=1
+TST_MOUNT_DEVICE=1
 TST_NEEDS_ROOT=1
 TST_TESTFUNC=test
 TST_CNT=2
-- 
2.51.0


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

  parent reply	other threads:[~2025-11-13  1:53 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-29 10:51 [LTP] [PATCH v1] tst_filesystems01.c: Add test for .filesystems Wei Gao via ltp
2025-09-16 11:02 ` Petr Vorel
2025-09-24  8:42 ` [LTP] [PATCH v2] " Wei Gao via ltp
2025-10-30 20:17   ` Petr Vorel
2025-10-31  6:33     ` Wei Gao via ltp
2025-10-31  9:13       ` Petr Vorel
2025-11-01  1:20   ` [LTP] [PATCH v3 0/2] " Wei Gao via ltp
2025-11-01  1:20     ` [LTP] [PATCH v3 1/2] " Wei Gao via ltp
2025-11-11 12:06       ` Petr Vorel
2025-11-12  6:51         ` Wei Gao via ltp
2025-11-12  9:22           ` Petr Vorel
2025-11-12 10:32             ` Cyril Hrubis
2025-11-12 11:34               ` Wei Gao via ltp
2025-11-12 11:44                 ` Cyril Hrubis
2025-11-12 12:14                   ` Wei Gao via ltp
2025-11-12 12:21               ` Petr Vorel
2025-11-13  1:28                 ` Wei Gao via ltp
2025-11-01  1:20     ` [LTP] [PATCH v3 2/2] tst_format_device.sh: Add e2fsprogs package for CI test Wei Gao via ltp
2025-11-11 12:22       ` Petr Vorel
2025-11-13  1:52     ` [LTP] [PATCH v4 0/3] tst_filesystems01.c: Add test for .filesystems Wei Gao via ltp
2025-11-13  1:52       ` [LTP] [PATCH v4 1/3] " Wei Gao via ltp
2026-01-22  3:37         ` Li Wang via ltp
2026-01-22  8:02           ` Petr Vorel
2026-01-22  8:54             ` Wei Gao via ltp
2025-11-13  1:52       ` Wei Gao via ltp [this message]
2025-11-13  1:52       ` [LTP] [PATCH v4 3/3] ci: Add e2fsprogs package for CI test Wei Gao via ltp
2025-12-18 13:49         ` Andrea Cervesato via ltp
2025-12-18 13:51           ` Andrea Cervesato via ltp
2026-01-23  2:36       ` [LTP] [PATCH v5 0/3] tst_filesystems01.c: Add test for .filesystems Wei Gao via ltp
2026-01-23  2:36         ` [LTP] [PATCH v5 1/3] " Wei Gao via ltp
2026-01-28  0:49           ` Li Wang via ltp
2026-01-23  2:36         ` [LTP] [PATCH v5 2/3] ci: Add mount operation for busybox Wei Gao via ltp
2026-01-23  2:36         ` [LTP] [PATCH v5 3/3] ci: Add e2fsprogs package for CI test Wei Gao via ltp

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=20251113015242.799-3-wegao@suse.com \
    --to=ltp@lists.linux.it \
    --cc=wegao@suse.com \
    /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