Displaying 1 result from an estimated 1 matches for "ctime_vs_link_test".
2010 Jan 17
1
Re: tests/misc/ls-time
...uot;make check" on a btrfs file system I''d just created using mkfs.btrfs
v0.19 on Fedora 12, btrfs-progs-0.19-9.fc12.x86_64
However, it has nothing to do with touch, but rather looks
like a bug (or at least a difference) in btrfs.
Here''s a function to provide a quick demo:
ctime_vs_link_test() { env rm -f a b x; : > a; : > b; ln a x
stat -f --pr ''%T: '' .; case "$(env ls -ct a b)" in a*b) echo pass;; \
*) echo fail; env stat --format=''%n %z'' a b;; esac; }
Use it on a few file systems.
This test passes on all I tried except btrfs:
[n...