randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -129,7 +129,7 @@ SKIP=
|
||||
|
||||
optional FEATURE_CPIO_O
|
||||
testing "cpio uses by default uid/gid" \
|
||||
"echo $0 | cpio -o -H newc | cpio -tv 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \
|
||||
"echo $0 | cpio -o -H newc | cpio -tv 2>&1 | head -n1 | awk ' { print \$2 } '; echo \$?" \
|
||||
"\
|
||||
$user/$group
|
||||
0
|
||||
@@ -138,7 +138,7 @@ SKIP=
|
||||
|
||||
optional FEATURE_CPIO_O
|
||||
testing "cpio -R with create" \
|
||||
"echo $0 | cpio -o -H newc -R 1234:5678 | cpio -tv 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \
|
||||
"echo $0 | cpio -o -H newc -R 1234:5678 | cpio -tv 2>&1 | head -n1 | awk ' { print \$2 } '; echo \$?" \
|
||||
"\
|
||||
1234/5678
|
||||
0
|
||||
@@ -147,7 +147,7 @@ SKIP=
|
||||
|
||||
optional FEATURE_CPIO_O
|
||||
testing "cpio -R with extract" \
|
||||
"echo $0 | cpio -o -H newc | cpio -tv -R 8765:4321 2>&1 | tail -n +2 | awk ' { print \$2 } '; echo \$?" \
|
||||
"echo $0 | cpio -o -H newc | cpio -tv -R 8765:4321 2>&1 | head -n1 | awk ' { print \$2 } '; echo \$?" \
|
||||
"\
|
||||
8765/4321
|
||||
0
|
||||
|
||||
@@ -75,12 +75,12 @@ zxc
|
||||
testing "patch detects already applied hunk" \
|
||||
'patch 2>&1; echo $?; cat input' \
|
||||
"\
|
||||
patching file input
|
||||
Possibly reversed hunk 1 at 4
|
||||
Hunk 1 FAILED 1/1.
|
||||
abc
|
||||
+def
|
||||
123
|
||||
patching file input
|
||||
1
|
||||
abc
|
||||
def
|
||||
@@ -103,12 +103,12 @@ def
|
||||
testing "patch detects already applied hunk at the EOF" \
|
||||
'patch 2>&1; echo $?; cat input' \
|
||||
"\
|
||||
patching file input
|
||||
Possibly reversed hunk 1 at 4
|
||||
Hunk 1 FAILED 1/1.
|
||||
abc
|
||||
123
|
||||
+456
|
||||
patching file input
|
||||
1
|
||||
abc
|
||||
123
|
||||
|
||||
Reference in New Issue
Block a user