acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Acl-devel] About ext-tests failed


From: Lu Chong
Subject: [Acl-devel] About ext-tests failed
Date: Fri, 17 Jan 2014 10:57:59 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

Hello all,

I tried to apply patch ( http://git.savannah.gnu.org/cgit/attr.git/commit/test/ext/fs.test?id=fc713a835cf0840464d79726b7952d27150937b1) for attr test but I get some failed about ext-tests. I am afraid that I am missing something.

I run ext-tests both ext2 and ext3 and my test log likes following:

ext3:

address@hidden /]# dumpe2fs /dev/sdb1 |grep "Block size:"
dumpe2fs 1.42.8 (20-Jun-2013)
Block size:               4096
address@hidden /]# df |grep sdb1
/dev/sdb1         999320      5064    925444   1% /mnt
address@hidden /]# cd /mnt/attr-2.4.47/
address@hidden attr-2.4.47]# make ext-tests
......
[19] $ touch f g h -- ok
[20] $ setfattr -n user.novalue f g h -- ok
[21] $ ls -s f g h -- failed
0 f                                   != 4 f
0 g                                   != 4 g
0 h                                   != 4 h
[26] $ setfattr -n user.name -v value f -- ok
[27] $ ls -s f g h -- failed
4 f                                   == 4 f
0 g                                   != 4 g
0 h                                   != 4 h
[32] $ getfattr -d f g h -- ok
[44] $ setfattr -n user.name -v value g -- ok
[45] $ ls -s f g h -- failed
4 f                                   == 4 f
4 g                                   == 4 g
0 h                                   != 4 h
[50] $ setfattr -x user.novalue h -- ok
[51] $ ls -s f g h -- ok
[56] $ setfattr -n user.name -v other-value g -- ok
[57] $ setfattr -n user.name -v value g -- ok
[58] $ setfattr -x user.name f g -- ok
[59] $ setfattr -x user.novalue f g -- ok
[60] $ ls -s f g h -- ok
[65] $ rm f g h -- ok
20 commands (17 passed, 3 failed)
gmake[1]: *** [ext/fs.test] Error 3
gmake[1]: Leaving directory `/mnt/attr-2.4.47/test'
make: *** [ext-tests] Error 2

ext2:

address@hidden /]# dumpe2fs /dev/sdb2 |grep "Block size:"
dumpe2fs 1.42.8 (20-Jun-2013)
Block size:               4096
address@hidden /]# df |grep sdb2
/dev/sdb2        1032088      5028    958248   1% /media
address@hidden /]# cd /media/attr-2.4.47/
......
[19] $ touch f g h -- ok
[20] $ setfattr -n user.novalue f g h -- ok
[21] $ ls -s f g h -- failed
0 f                                   != 4 f
0 g                                   != 4 g
0 h                                   != 4 h
[26] $ setfattr -n user.name -v value f -- ok
[27] $ ls -s f g h -- failed
4 f                                   == 4 f
0 g                                   != 4 g
0 h                                   != 4 h
[32] $ getfattr -d f g h -- ok
[44] $ setfattr -n user.name -v value g -- ok
[45] $ ls -s f g h -- failed
4 f                                   == 4 f
4 g                                   == 4 g
0 h                                   != 4 h
[50] $ setfattr -x user.novalue h -- ok
[51] $ ls -s f g h -- ok
[56] $ setfattr -n user.name -v other-value g -- ok
[57] $ setfattr -n user.name -v value g -- ok
[58] $ setfattr -x user.name f g -- ok
[59] $ setfattr -x user.novalue f g -- ok
[60] $ ls -s f g h -- ok
[65] $ rm f g h -- ok
20 commands (17 passed, 3 failed)
gmake[1]: *** [ext/fs.test] Error 3
gmake[1]: Leaving directory `/media/attr-2.4.47/test'
make: *** [ext-tests] Error 2

As above display, there are some different results between ext2 and ext3.
They all have failed. Maybe, some results of `ls` are still not correct.
I'm very puzzled.
Please help me.

Best Regards
Chong Lu

reply via email to

[Prev in Thread] Current Thread [Next in Thread]