diff options
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh/add-test-support-for-busybox.patch')
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh/add-test-support-for-busybox.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/add-test-support-for-busybox.patch b/meta/recipes-connectivity/openssh/openssh/add-test-support-for-busybox.patch deleted file mode 100644 index b8402a4dee..0000000000 --- a/meta/recipes-connectivity/openssh/openssh/add-test-support-for-busybox.patch +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | Adjust test cases to work with busybox. | ||
2 | |||
3 | - Replace dd parameter "obs" with "bs". | ||
4 | - Replace "head -<num>" with "head -n <num>". | ||
5 | |||
6 | Signed-off-by: Maxin B. John <maxin.john@enea.com> | ||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Index: openssh-7.6p1/regress/cipher-speed.sh | ||
10 | =================================================================== | ||
11 | --- openssh-7.6p1.orig/regress/cipher-speed.sh | ||
12 | +++ openssh-7.6p1/regress/cipher-speed.sh | ||
13 | @@ -17,7 +17,7 @@ for c in `${SSH} -Q cipher`; do n=0; for | ||
14 | printf "%-60s" "$c/$m:" | ||
15 | ( ${SSH} -o 'compression no' \ | ||
16 | -F $OBJ/ssh_proxy -m $m -c $c somehost \ | ||
17 | - exec sh -c \'"dd of=/dev/null obs=32k"\' \ | ||
18 | + exec sh -c \'"dd of=/dev/null bs=32k"\' \ | ||
19 | < ${DATA} ) 2>&1 | getbytes | ||
20 | |||
21 | if [ $? -ne 0 ]; then | ||
22 | Index: openssh-7.6p1/regress/transfer.sh | ||
23 | =================================================================== | ||
24 | --- openssh-7.6p1.orig/regress/transfer.sh | ||
25 | +++ openssh-7.6p1/regress/transfer.sh | ||
26 | @@ -13,7 +13,7 @@ cmp ${DATA} ${COPY} || fail "corrupted | ||
27 | for s in 10 100 1k 32k 64k 128k 256k; do | ||
28 | trace "dd-size ${s}" | ||
29 | rm -f ${COPY} | ||
30 | - dd if=$DATA obs=${s} 2> /dev/null | \ | ||
31 | + dd if=$DATA bs=${s} 2> /dev/null | \ | ||
32 | ${SSH} -q -F $OBJ/ssh_proxy somehost "cat > ${COPY}" | ||
33 | if [ $? -ne 0 ]; then | ||
34 | fail "ssh cat $DATA failed" | ||
35 | Index: openssh-7.6p1/regress/key-options.sh | ||
36 | =================================================================== | ||
37 | --- openssh-7.6p1.orig/regress/key-options.sh | ||
38 | +++ openssh-7.6p1/regress/key-options.sh | ||
39 | @@ -47,7 +47,7 @@ for f in 127.0.0.1 '127.0.0.0\/8'; do | ||
40 | fi | ||
41 | |||
42 | sed 's/.*/from="'"$f"'" &/' $origkeys >$authkeys | ||
43 | - from=`head -1 $authkeys | cut -f1 -d ' '` | ||
44 | + from=`head -n 1 $authkeys | cut -f1 -d ' '` | ||
45 | verbose "key option $from" | ||
46 | r=`${SSH} -q -F $OBJ/ssh_proxy somehost 'echo true'` | ||
47 | if [ "$r" = "true" ]; then | ||