Fixed
Created: Apr 15, 2014
Updated: Dec 3, 2018
Resolved Date: Jun 24, 2014
Found In Version: 6.0.0.6
Fix Version: 6.0.0.9
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace
In wr-runltp script, it will mount ext4 file system on /tmp over loop device:
# mount ext4 file system on /tmp over loop device on NFS
mount_tmp()
{
......
[[ $(df -P -T /tmp | tail -1 | awk '{print $2}' ) =~ ext(3|4) ]] || {
......
}
In WRLinux6, /tmp is already mounted as tmpfs, so it is incorrect to remount /tmp as ext4 fs via loop device.
If ltp needs run some testcases of extX fs (with NFS rootfs), please make ext fs with loop device and mount it on another point expect /tmp.
1, build project with --enable-test=yes
2, boot wrlinux from NFS
3, run ltp:
/opt/ltp/wrLinux_ltp/wr-runltp