diff options
Diffstat (limited to 'testsuite/cpio.tests')
-rwxr-xr-x | testsuite/cpio.tests | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/cpio.tests b/testsuite/cpio.tests index 88ec086b6..85e746589 100755 --- a/testsuite/cpio.tests +++ b/testsuite/cpio.tests | |||
@@ -129,7 +129,7 @@ SKIP= | |||
129 | 129 | ||
130 | optional FEATURE_CPIO_O | 130 | optional FEATURE_CPIO_O |
131 | testing "cpio uses by default uid/gid" \ | 131 | testing "cpio uses by default uid/gid" \ |
132 | "echo $0 | cpio -o -H newc | cpio -tv 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \ | 132 | "echo $0 | cpio -o -H newc | cpio -tv 2>&1 | head -n1 | awk ' { print \$2 } '; echo \$?" \ |
133 | "\ | 133 | "\ |
134 | $user/$group | 134 | $user/$group |
135 | 0 | 135 | 0 |
@@ -138,7 +138,7 @@ SKIP= | |||
138 | 138 | ||
139 | optional FEATURE_CPIO_O | 139 | optional FEATURE_CPIO_O |
140 | testing "cpio -R with create" \ | 140 | testing "cpio -R with create" \ |
141 | "echo $0 | cpio -o -H newc -R 1234:5678 | cpio -tv 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \ | 141 | "echo $0 | cpio -o -H newc -R 1234:5678 | cpio -tv 2>&1 | head -n1 | awk ' { print \$2 } '; echo \$?" \ |
142 | "\ | 142 | "\ |
143 | 1234/5678 | 143 | 1234/5678 |
144 | 0 | 144 | 0 |
@@ -147,7 +147,7 @@ SKIP= | |||
147 | 147 | ||
148 | optional FEATURE_CPIO_O | 148 | optional FEATURE_CPIO_O |
149 | testing "cpio -R with extract" \ | 149 | testing "cpio -R with extract" \ |
150 | "echo $0 | cpio -o -H newc | cpio -tv -R 8765:4321 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \ | 150 | "echo $0 | cpio -o -H newc | cpio -tv -R 8765:4321 2>&1 | head -n1 | awk ' { print \$2 } '; echo \$?" \ |
151 | "\ | 151 | "\ |
152 | 8765/4321 | 152 | 8765/4321 |
153 | 0 | 153 | 0 |