diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/cpio.tests | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testsuite/cpio.tests b/testsuite/cpio.tests index 75f085873..e53ade925 100755 --- a/testsuite/cpio.tests +++ b/testsuite/cpio.tests | |||
@@ -7,7 +7,8 @@ | |||
7 | # ls -ln shows date. Need to remove that, it's variable. | 7 | # ls -ln shows date. Need to remove that, it's variable. |
8 | # sed: coalesce spaces | 8 | # sed: coalesce spaces |
9 | # cut: remove date | 9 | # cut: remove date |
10 | FILTER_LS="sed 's/ */ /g' | cut -d' ' -f 1-5,9-" | 10 | # grep: remove "total NNN" lines |
11 | FILTER_LS="sed 's/ */ /g' | cut -d' ' -f 1-5,9- | grep -v '^total '" | ||
11 | 12 | ||
12 | 13 | ||
13 | # newc cpio archive of directory cpio.testdir with empty x and y hardlinks | 14 | # newc cpio archive of directory cpio.testdir with empty x and y hardlinks |
@@ -36,7 +37,6 @@ ls -ln cpio.testdir | $FILTER_LS" \ | |||
36 | "\ | 37 | "\ |
37 | 1 blocks | 38 | 1 blocks |
38 | 0 | 39 | 0 |
39 | total 0 | ||
40 | -rw-r--r-- 2 $user $group 0 x | 40 | -rw-r--r-- 2 $user $group 0 x |
41 | -rw-r--r-- 2 $user $group 0 y | 41 | -rw-r--r-- 2 $user $group 0 y |
42 | " \ | 42 | " \ |
@@ -75,7 +75,6 @@ ls -ln cpio.testdir2/cpio.testdir | $FILTER_LS" \ | |||
75 | "\ | 75 | "\ |
76 | 2 blocks | 76 | 2 blocks |
77 | 0 | 77 | 0 |
78 | total 8 | ||
79 | -rw-r--r-- 2 $user $group 0 empty | 78 | -rw-r--r-- 2 $user $group 0 empty |
80 | -rw-r--r-- 2 $user $group 0 empty1 | 79 | -rw-r--r-- 2 $user $group 0 empty1 |
81 | -rw-r--r-- 2 $user $group 2 nonempty | 80 | -rw-r--r-- 2 $user $group 2 nonempty |