Whamcloud - gitweb
LU-9663 tests: replace “ls -s” with “stat -c '%s'” to get file size
[fs/lustre-release.git] / lustre / tests / acl / 2561_zfs.test
index 8ab0657..ac38131 100644 (file)
@@ -4,8 +4,8 @@ LU-2561 newly created file is same size as directory
        $ cd 2561
        $ getfacl --access . | setfacl -d -M- .
        $ touch f1
-       $ ls -s f1
-       > 1 f1
+       $ stat -c '%s' f1
+       > 0
        $ cd ..
        $ rm -rf 2561