]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: define columns for fincore test
authorKarel Zak <kzak@redhat.com>
Mon, 27 Mar 2017 13:13:17 +0000 (15:13 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 27 Mar 2017 13:13:17 +0000 (15:13 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/fincore/count

index 8268973500f746e0f925db563d1a4af7bafbbd5c..87e25a81456e52b3f46fd5e35b15cd568ada04bd 100755 (executable)
@@ -32,7 +32,7 @@ function run_dd_test
        $DD if=/dev/zero of=$input count=1 bs=$bs $flags &> /dev/null
     fi
 
-    $TS_CMD_FINCORE  --bytes --noheadings $input
+    $TS_CMD_FINCORE --output PAGES,SIZE,FILE  --bytes --noheadings $input
 
     footer "$?"
 }
@@ -51,7 +51,7 @@ function run_dd_dd_test
     $DD if=/dev/zero of=$input count=1 bs=$bs $flags0 &> /dev/null
     $DD if=/dev/zero of=$input count=1 bs=$bs $flags1 &> /dev/null
 
-    $TS_CMD_FINCORE --bytes --noheadings $input
+    $TS_CMD_FINCORE --output PAGES,SIZE,FILE --bytes --noheadings $input
 
     footer "$?"
 }
@@ -83,7 +83,7 @@ input=
     INPUT="${INPUT} ${input}"
 
     header "NO EXCITING FILE"
-    $TS_CMD_FINCORE --bytes --noheadings $input
+    $TS_CMD_FINCORE --output PAGES,SIZE,FILE --bytes --noheadings $input
     footer "$?"
 } >> $TS_OUTPUT 2>&1
 
@@ -189,7 +189,7 @@ input=
 
 {
     header "MULTIPLE FILES"
-    $TS_CMD_FINCORE --bytes $INPUT
+    $TS_CMD_FINCORE --output PAGES,SIZE,FILE --bytes $INPUT
     footer "$?"
 } >> $TS_OUTPUT 2>&1