test fails: mount -o

Nikita Gupta nikitarulz at gmail.com
Mon Oct 1 07:07:06 UTC 2018


Hi team,

While executing the testsuite included with the busybox-1.24.1, I got few
failures.
*Failed test case list*
cpio lists hardlinks
mount -o remount,mand
sed n (flushes pattern space, terminates early)
sed embedded NUL
sed NUL in command
sed append autoinserts newline
sed nonexistent label
unzip (subdir only)

Out of the above list, I could figureout the failing reasons of the test
cases but one "mount -o remount,mand" is failing whose failure reason is
unpredictable.

If the failing reason can't be figuredout, then how one can resolve it.

Failure logs:

echo -ne '' >input
echo -ne '' | mount -o loop mount.image1m
/packages/busybox-1.24.1/testsuite/mount.testdir && grep -Fc
/packages/busybox-1.24.1/testsuite/mount.testdir </proc/mounts && mount -o
remount,mand /packages/busybox-1.24.1/testsuite/mount.testdir && grep -F
/packages/busybox-1.24.1/testsuite/mount.testdir </proc/mounts | grep -c
'[, ]mand[, ]'|| grep -F /packages/busybox-1.24.1/testsuite/mount.testdir
</proc/mounts
mount: mounting /dev/loop0 on
/packages/busybox-1.24.1/testsuite/mount.testdir failed: Invalid argument
FAIL: mount -o remount,mand
--- expected
+++ actual
@@ -1,2 +0,0 @@
-1
-1
umount: can't unmount /packages/busybox-1.24.1/testsuite/mount.testdir:
Invalid argument

Can somebody help me in figuring out the failure reason for "mount -o
remount,mand" testcase?
-- 
Regards,
Nikita Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20181001/9fa512bc/attachment.html>


More information about the busybox mailing list