Sam Price created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1394

Project:Branches: TheSamPrice/rtems:microblaze-isr-arg-area to 
rtems/rtos/rtems:main
Author:   Sam Price



## Summary

testsuites/psxstat: Expect statvfs() on IMFS to succeed

Commit e618b20215 ("imfs/imfs_statvfs: Added the statvfs functionality
to IMFS module") gave IMFS a real statvfs handler:
cpukit/libfs/src/imfs/imfs_statvfs.c is wired up as .statvfs_h in the
IMFS operations table and returns 0.  Before that commit no handler was
installed and the default handler made statvfs() fail with ENOSYS.

The psximfs01 test was updated along with that change, but psxstat was
not:  test_statvfs() still asserts that statvfs() on a valid path
returns -1 with errno set to ENOSYS, so the test fails.  Assert success
instead and update the expected output in psxstat.scn to match.

The stale expectation is architecture independent, so the test fails on
every BSP.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
(cherry picked from commit 5f737a03f8425e46f41377f1bbcba1fe506095a1)


## Generative AI

<!-- If you have used AI please use the "AI Contribution" template otherwise 
leave this blank see our fulls statement at 
https://www.rtems.org/generative-ai/-->


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1394
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/sent_notifications/5-7atyzshc2umw4xkqcj7dcag6l-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to