Hi,

On Windows WSL2 (1.2.5.0) running Ubuntu 22.04.3 LTS one test failed. I 
downloaded a source release (coreutils-9.3) and did: ./configure, make, make 
check.


============================================================================
Testsuite summary for GNU coreutils 9.3
============================================================================
# TOTAL: 643
# PASS:  526
# SKIP:  116
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./tests/test-suite.log
Please report to bug-coreutils@gnu.org
============================================================================


tests/df/skip-rootfs.sh

+ create_exe_shims_ /home/bill/Source/coreutils-9.3/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ df
+ require_built_ df
+ skip_=no
+ for i in "$@"
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in $*
+ env df --version
df (GNU coreutils) 9.3
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.
+ timeout 10 df
Filesystem       1K-blocks       Used   Available Use% Mounted on
none              32891432          4    32891428   1% /mnt/wsl
none            1952760828  911256876  1041503952  47% /usr/lib/wsl/drivers
none              32891432          0    32891432   0% /usr/lib/wsl/lib
/dev/sdc        1055762868  187999384   814060012  19% /
none              32891432         92    32891340   1% /mnt/wslg
rootfs            32888184       1936    32886248   1% /init
none              32888216          0    32888216   0% /dev
none              32891432        900    32890532   1% /run
none              32891432          0    32891432   0% /run/lock
none              32891432          0    32891432   0% /run/shm
none              32891432          0    32891432   0% /run/user
tmpfs                 4096          0        4096   0% /sys/fs/cgroup
none              32891432         72    32891360   1% /mnt/wslg/versions.txt
none              32891432         72    32891360   1% /mnt/wslg/doc
drvfs           1952760828  911256876  1041503952  47% /mnt/c
drvfs          17578309624 2777179008 14801130616  16% /mnt/e
snapfuse               128        128           0 100% /snap/bare/5
snapfuse              2048       2048           0 100% /snap/btop/627
snapfuse              2048       2048           0 100% /snap/btop/622
snapfuse             65024      65024           0 100% /snap/core20/1950
snapfuse             65024      65024           0 100% /snap/core20/1974
snapfuse             75648      75648           0 100% /snap/core22/817
snapfuse             75648      75648           0 100% /snap/core22/858
snapfuse             93952      93952           0 100% 
/snap/gtk-common-themes/1535
snapfuse             54656      54656           0 100% /snap/snapd/19361
snapfuse             54656      54656           0 100% /snap/snapd/19457
snapfuse            132992     132992           0 100% 
/snap/ubuntu-desktop-installer/1195
snapfuse            132992     132992           0 100% 
/snap/ubuntu-desktop-installer/1202
+ df -a
+ grep '^rootfs' out
rootfs            32888184       1936    32886248   1% /init
+ df
+ grep '^rootfs' out
rootfs            32888184       1936    32886248   1% /init
+ fail=1
+ cat out
Filesystem       1K-blocks       Used   Available Use% Mounted on
none              32891432          4    32891428   1% /mnt/wsl
none            1952760828  911256876  1041503952  47% /usr/lib/wsl/drivers
none              32891432          0    32891432   0% /usr/lib/wsl/lib
/dev/sdc        1055762868  187999388   814060008  19% /
none              32891432         92    32891340   1% /mnt/wslg
rootfs            32888184       1936    32886248   1% /init
none              32888216          0    32888216   0% /dev
none              32891432        900    32890532   1% /run
none              32891432          0    32891432   0% /run/lock
none              32891432          0    32891432   0% /run/shm
none              32891432          0    32891432   0% /run/user
tmpfs                 4096          0        4096   0% /sys/fs/cgroup
none              32891432         72    32891360   1% /mnt/wslg/versions.txt
none              32891432         72    32891360   1% /mnt/wslg/doc
drvfs           1952760828  911256876  1041503952  47% /mnt/c
drvfs          17578309624 2777182208 14801127416  16% /mnt/e
snapfuse               128        128           0 100% /snap/bare/5
snapfuse              2048       2048           0 100% /snap/btop/627
snapfuse              2048       2048           0 100% /snap/btop/622
snapfuse             65024      65024           0 100% /snap/core20/1950
snapfuse             65024      65024           0 100% /snap/core20/1974
snapfuse             75648      75648           0 100% /snap/core22/817
snapfuse             75648      75648           0 100% /snap/core22/858
snapfuse             93952      93952           0 100% 
/snap/gtk-common-themes/1535
snapfuse             54656      54656           0 100% /snap/snapd/19361
snapfuse             54656      54656           0 100% /snap/snapd/19457
snapfuse            132992     132992           0 100% 
/snap/ubuntu-desktop-installer/1195
snapfuse            132992     132992           0 100% 
/snap/ubuntu-desktop-installer/1202
+ returns_ 1 df -t rootfs
+ fail=1
+ grep '^rootfs' out
rootfs          32888184  1936  32886248   1% /init
+ fail=1
+ cat out
Filesystem     1K-blocks  Used Available Use% Mounted on
rootfs          32888184  1936  32886248   1% /init
+ df -t rootfs -a
+ grep '^rootfs' out
rootfs          32888184  1936  32886248   1% /init
+ df -a -x rootfs
+ grep '^rootfs' out
+ test 1 = 1
+ dump_mount_list_
+ cat /proc/self/mountinfo
71 77 0:26 / /mnt/wsl rw,relatime shared:1 - tmpfs none rw
72 77 0:28 / /usr/lib/wsl/drivers ro,nosuid,nodev,noatime - 9p none 
ro,dirsync,aname=drivers;fmask=222;dmask=222,mmap,access=client,msize=65536,trans=fd,rfd=7,wfd=7
76 77 0:32 / /usr/lib/wsl/lib rw,relatime - overlay none 
rw,lowerdir=/gpu_lib_packaged:/gpu_lib_inbox,upperdir=/gpu_lib/rw/upper,workdir=/gpu_lib/rw/work
77 63 8:32 / / rw,relatime - ext4 /dev/sdc 
rw,discard,errors=remount-ro,data=ordered
78 77 0:37 / /mnt/wslg rw,relatime shared:2 - tmpfs none rw
79 78 8:32 / /mnt/wslg/distro ro,relatime shared:3 - ext4 /dev/sdc 
rw,discard,errors=remount-ro,data=ordered
97 77 0:2 /init /init ro - rootfs rootfs rw,size=32888184k,nr_inodes=8222046
98 77 0:5 / /dev rw,nosuid,relatime - devtmpfs none 
rw,size=32888216k,nr_inodes=8222054,mode=755
99 77 0:20 / /sys rw,nosuid,nodev,noexec,noatime - sysfs sysfs rw
100 77 0:49 / /proc rw,nosuid,nodev,noexec,noatime - proc proc rw
101 98 0:50 / /dev/pts rw,nosuid,noexec,noatime - devpts devpts 
rw,gid=5,mode=620,ptmxmode=000
102 77 0:51 / /run rw,nosuid,nodev - tmpfs none rw,mode=755
103 102 0:52 / /run/lock rw,nosuid,nodev,noexec,noatime - tmpfs none rw
104 102 0:53 / /run/shm rw,nosuid,nodev,noatime - tmpfs none rw
105 98 0:53 / /dev/shm rw,nosuid,nodev,noatime - tmpfs none rw
106 102 0:54 / /run/user rw,nosuid,nodev,noexec,noatime - tmpfs none rw,mode=755
107 100 0:27 / /proc/sys/fs/binfmt_misc rw,relatime - binfmt_misc binfmt_misc rw
108 99 0:55 / /sys/fs/cgroup ro,nosuid,nodev,noexec - tmpfs tmpfs 
ro,size=4096k,nr_inodes=1024,mode=755
109 108 0:21 / /sys/fs/cgroup/unified rw,nosuid,nodev,noexec,relatime - cgroup2 
cgroup2 rw,nsdelegate
112 108 0:56 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,cpuset
114 108 0:57 / /sys/fs/cgroup/cpu rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,cpu
116 108 0:58 / /sys/fs/cgroup/cpuacct rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,cpuacct
117 108 0:59 / /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,blkio
120 108 0:60 / /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,memory
122 108 0:61 / /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,devices
123 108 0:62 / /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,freezer
125 108 0:63 / /sys/fs/cgroup/net_cls rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,net_cls
127 108 0:64 / /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime - 
cgroup cgroup rw,perf_event
129 108 0:65 / /sys/fs/cgroup/net_prio rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,net_prio
130 108 0:66 / /sys/fs/cgroup/hugetlb rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,hugetlb
132 108 0:67 / /sys/fs/cgroup/pids rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,pids
135 108 0:68 / /sys/fs/cgroup/rdma rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,rdma
137 108 0:69 / /sys/fs/cgroup/misc rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,misc
142 78 0:39 /etc/versions.txt /mnt/wslg/versions.txt rw,relatime shared:4 - 
overlay none 
rw,lowerdir=/systemvhd,upperdir=/system/rw/upper,workdir=/system/rw/work
144 78 0:39 /usr/share/doc /mnt/wslg/doc rw,relatime shared:5 - overlay none 
rw,lowerdir=/systemvhd,upperdir=/system/rw/upper,workdir=/system/rw/work
146 77 0:37 /.X11-unix /tmp/.X11-unix ro,relatime shared:2 - tmpfs none rw
147 77 0:73 / /mnt/c rw,noatime - 9p drvfs 
rw,dirsync,aname=drvfs;path=C:\;uid=1000;gid=1000;symlinkroot=/mnt/,mmap,access=client,msize=262144,trans=virtio
148 77 0:74 / /mnt/e rw,noatime - 9p drvfs 
rw,dirsync,aname=drvfs;path=E:\;uid=1000;gid=1000;symlinkroot=/mnt/,mmap,access=client,msize=262144,trans=virtio
149 108 0:75 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime - cgroup 
cgroup rw,xattr,name=systemd
150 98 0:76 / /dev/hugepages rw,relatime - hugetlbfs hugetlbfs rw,pagesize=2M
151 98 0:36 / /dev/mqueue rw,nosuid,nodev,noexec,relatime - mqueue mqueue rw
152 99 0:6 / /sys/kernel/debug rw,nosuid,nodev,noexec,relatime - debugfs 
debugfs rw
153 99 0:11 / /sys/kernel/tracing rw,nosuid,nodev,noexec,relatime - tracefs 
tracefs rw
154 99 0:77 / /sys/fs/fuse/connections rw,nosuid,nodev,noexec,relatime - 
fusectl fusectl rw
155 77 8:32 /snap /snap rw,relatime shared:6 - ext4 /dev/sdc 
rw,discard,errors=remount-ro,data=ordered
263 155 0:78 / /snap/bare/5 ro,nodev,relatime shared:44 - fuse.snapfuse 
snapfuse ro,user_id=0,group_id=0,allow_other
266 155 0:79 / /snap/btop/627 ro,nodev,relatime shared:57 - fuse.snapfuse 
snapfuse ro,user_id=0,group_id=0,allow_other
269 155 0:80 / /snap/btop/622 ro,nodev,relatime shared:59 - fuse.snapfuse 
snapfuse ro,user_id=0,group_id=0,allow_other
272 155 0:81 / /snap/core20/1950 ro,nodev,relatime shared:61 - fuse.snapfuse 
snapfuse ro,user_id=0,group_id=0,allow_other
275 155 0:82 / /snap/core20/1974 ro,nodev,relatime shared:63 - fuse.snapfuse 
snapfuse ro,user_id=0,group_id=0,allow_other
278 155 0:83 / /snap/core22/817 ro,nodev,relatime shared:65 - fuse.snapfuse 
snapfuse ro,user_id=0,group_id=0,allow_other
281 155 0:84 / /snap/core22/858 ro,nodev,relatime shared:67 - fuse.snapfuse 
snapfuse ro,user_id=0,group_id=0,allow_other
284 155 0:85 / /snap/gtk-common-themes/1535 ro,nodev,relatime shared:69 - 
fuse.snapfuse snapfuse ro,user_id=0,group_id=0,allow_other
287 155 0:86 / /snap/snapd/19361 ro,nodev,relatime shared:71 - fuse.snapfuse 
snapfuse ro,user_id=0,group_id=0,allow_other
290 155 0:87 / /snap/snapd/19457 ro,nodev,relatime shared:73 - fuse.snapfuse 
snapfuse ro,user_id=0,group_id=0,allow_other
293 155 0:88 / /snap/ubuntu-desktop-installer/1195 ro,nodev,relatime shared:75 
- fuse.snapfuse snapfuse ro,user_id=0,group_id=0,allow_other
296 155 0:89 / /snap/ubuntu-desktop-installer/1202 ro,nodev,relatime shared:77 
- fuse.snapfuse snapfuse ro,user_id=0,group_id=0,allow_other
727 106 0:37 /runtime-dir /run/user/1000 rw,relatime shared:2 - tmpfs none rw
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /home/bill/Source/coreutils-9.3
+ chmod -R u+rwx /home/bill/Source/coreutils-9.3/gt-skip-rootfs.sh.Yduq
+ rm -rf /home/bill/Source/coreutils-9.3/gt-skip-rootfs.sh.Yduq
+ exit 1
FAIL tests/df/skip-rootfs.sh (exit status: 1)


Reply via email to