55end
66
77
8- methods (Test , TestTags = " java" )
8+ methods (Test , TestTags = [ " java" , " unix "] )
99
1010function test_inode(tc )
1111tc .assumeFalse(ispc(), " not for Windows" )
@@ -24,35 +24,37 @@ function test_device(tc)
2424tc .verifyEmpty(stdlib .device(tempname ))
2525end
2626
27+ function test_owner(tc , Ps )
2728
28- function test_filesystem_type(tc , Ps )
29-
30- s = stdlib .filesystem_type(Ps );
29+ s = stdlib .get_owner(Ps );
3130tc .verifyClass(s , ' string' )
3231L = strlength(s );
3332
34- if strlength( Ps ) == 0 || stdlib .exists(Ps )
33+ if stdlib .exists(Ps )
3534 tc .verifyGreaterThan(L , 0 )
3635else
3736 tc .verifyEqual(L , 0 )
3837end
3938end
4039
40+ end
4141
42- function test_owner(tc , Ps )
4342
44- s = stdlib .get_owner(Ps );
43+ methods (Test , TestTags = " java" )
44+
45+ function test_filesystem_type(tc , Ps )
46+
47+ s = stdlib .filesystem_type(Ps );
4548tc .verifyClass(s , ' string' )
4649L = strlength(s );
4750
48- if stdlib .exists(Ps )
51+ if strlength( Ps ) == 0 || stdlib .exists(Ps )
4952 tc .verifyGreaterThan(L , 0 )
5053else
5154 tc .verifyEqual(L , 0 )
5255end
5356end
5457
55-
5658function test_username(tc )
5759u = stdlib .get_username();
5860tc .verifyGreaterThan(strlength(u ), 0 )
0 commit comments