From ae6aa2d43daa6276dd18dc974a1c5b7c15264615 Mon Sep 17 00:00:00 2001 From: Piotr Pawel Stefaniak Date: Mon, 28 Mar 2022 23:18:24 +0200 Subject: [PATCH] uudecode: move the new uudecode test from uuencode/ to uudecode/ I don't know how that happened. Fixes: 9f3203c00314 "uudecode: correct error message" --- usr.bin/uudecode/tests/Makefile | 1 + usr.bin/{uuencode => uudecode}/tests/regress.153276.in | 0 usr.bin/{uuencode => uudecode}/tests/regress.153276.out | 0 usr.bin/uudecode/tests/regress.sh | 5 ++++- usr.bin/uuencode/tests/Makefile | 1 - usr.bin/uuencode/tests/regress.sh | 3 --- 6 files changed, 5 insertions(+), 5 deletions(-) rename usr.bin/{uuencode => uudecode}/tests/regress.153276.in (100%) rename usr.bin/{uuencode => uudecode}/tests/regress.153276.out (100%) diff --git a/usr.bin/uudecode/tests/Makefile b/usr.bin/uudecode/tests/Makefile index 6c23c8104413..204f25b18c9e 100644 --- a/usr.bin/uudecode/tests/Makefile +++ b/usr.bin/uudecode/tests/Makefile @@ -8,5 +8,6 @@ ${PACKAGE}FILES+= regress.base64.in ${PACKAGE}FILES+= regress.out ${PACKAGE}FILES+= regress.sh ${PACKAGE}FILES+= regress.traditional.in +${PACKAGE}FILES+= regress.153276.in regress.153276.out .include diff --git a/usr.bin/uuencode/tests/regress.153276.in b/usr.bin/uudecode/tests/regress.153276.in similarity index 100% rename from usr.bin/uuencode/tests/regress.153276.in rename to usr.bin/uudecode/tests/regress.153276.in diff --git a/usr.bin/uuencode/tests/regress.153276.out b/usr.bin/uudecode/tests/regress.153276.out similarity index 100% rename from usr.bin/uuencode/tests/regress.153276.out rename to usr.bin/uudecode/tests/regress.153276.out diff --git a/usr.bin/uudecode/tests/regress.sh b/usr.bin/uudecode/tests/regress.sh index 3aeb04d2c02e..dca89804bfec 100644 --- a/usr.bin/uudecode/tests/regress.sh +++ b/usr.bin/uudecode/tests/regress.sh @@ -1,10 +1,13 @@ # $FreeBSD$ -echo 1..2 +echo 1..3 REGRESSION_START($1) REGRESSION_TEST_ONE(`uudecode -p <${SRCDIR}/regress.traditional.in', `traditional') REGRESSION_TEST_ONE(`uudecode -p <${SRCDIR}/regress.base64.in', `base64') +# was uudecode: stdin: /dev/null: character out of range: [33-96] +REGRESSION_TEST(`153276', `uudecode -o /dev/null <${SRCDIR}/regress.153276.in 2>&1') + REGRESSION_END() diff --git a/usr.bin/uuencode/tests/Makefile b/usr.bin/uuencode/tests/Makefile index fd231e768bcc..2c7f18c36328 100644 --- a/usr.bin/uuencode/tests/Makefile +++ b/usr.bin/uuencode/tests/Makefile @@ -8,6 +8,5 @@ ${PACKAGE}FILES+= regress.base64.out ${PACKAGE}FILES+= regress.in ${PACKAGE}FILES+= regress.sh ${PACKAGE}FILES+= regress.traditional.out -${PACKAGE}FILES+= regress.153276.in regress.153276.out .include diff --git a/usr.bin/uuencode/tests/regress.sh b/usr.bin/uuencode/tests/regress.sh index 143de3de623c..6be0ef3cc9b0 100644 --- a/usr.bin/uuencode/tests/regress.sh +++ b/usr.bin/uuencode/tests/regress.sh @@ -7,7 +7,4 @@ REGRESSION_START($1) REGRESSION_TEST(`traditional', `uuencode regress.in <${SRCDIR}/regress.in') REGRESSION_TEST(`base64', `uuencode -m regress.in <${SRCDIR}/regress.in') -# was uudecode: stdin: /dev/null: character out of range: [33-96] -REGRESSION_TEST(`153276', `uudecode -o /dev/null <${SRCDIR}/regress.153276.in 2>&1') - REGRESSION_END()