From d510f38ccbc715faa8e07828bf6acd8e9b9a0658 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 20 Sep 2018 13:02:06 +0900 Subject: gpg-error-config: Remove white space for the output by old. * src/gpg-error-config-test.sh: Remove white spaces at the end or at the beginning. -- Signed-off-by: NIIBE Yutaka --- src/gpg-error-config-test.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/gpg-error-config-test.sh b/src/gpg-error-config-test.sh index 7ed70df..0501c8d 100755 --- a/src/gpg-error-config-test.sh +++ b/src/gpg-error-config-test.sh @@ -42,35 +42,35 @@ OUTPUT_NEW=$(./gpg-error-config-new --cflags --libs) [ "$OUTPUT_OLD" = "$OUTPUT_NEW" ] || failure --cflags --libs if [ "$PKG_CONFIG_CMD" = ./gpg-error-config-old ]; then - OUTPUT_OLD=$($PKG_CONFIG_CMD --version) + OUTPUT_OLD=$(echo $($PKG_CONFIG_CMD --version)) OUTPUT_NEW=$(./gpg-error-config-new --version) [ "$OUTPUT_OLD" = "$OUTPUT_NEW" ] || failure --version - OUTPUT_OLD=$($PKG_CONFIG_CMD --mt --libs) + OUTPUT_OLD=$(echo $($PKG_CONFIG_CMD --mt --libs)) OUTPUT_NEW=$(./gpg-error-config-new --mt --libs) [ "$OUTPUT_OLD" = "$OUTPUT_NEW" ] || failure --mt --libs - OUTPUT_OLD=$($PKG_CONFIG_CMD --mt --cflags) + OUTPUT_OLD=$(echo $($PKG_CONFIG_CMD --mt --cflags)) OUTPUT_NEW=$(./gpg-error-config-new --mt --cflags) [ "$OUTPUT_OLD" = "$OUTPUT_NEW" ] || failure --mt --cflags - OUTPUT_OLD=$($PKG_CONFIG_CMD --cflags --libs) + OUTPUT_OLD=$(echo $($PKG_CONFIG_CMD --cflags --libs)) OUTPUT_NEW=$(./gpg-error-config-new --cflags --libs) [ "$OUTPUT_OLD" = "$OUTPUT_NEW" ] || failure --cflags --libs - OUTPUT_OLD=$($PKG_CONFIG_CMD --mt --cflags --libs) + OUTPUT_OLD=$(echo $($PKG_CONFIG_CMD --mt --cflags --libs)) OUTPUT_NEW=$(./gpg-error-config-new --mt --cflags --libs) [ "$OUTPUT_OLD" = "$OUTPUT_NEW" ] || failure --mt --cflags --libs - OUTPUT_OLD=$($PKG_CONFIG_CMD --variable=mtcflags) + OUTPUT_OLD=$(echo $($PKG_CONFIG_CMD --variable=mtcflags)) OUTPUT_NEW=$(./gpg-error-config-new --variable=mtcflags) [ "$OUTPUT_OLD" = "$OUTPUT_NEW" ] || failure --variable=mtcflags - OUTPUT_OLD=$($PKG_CONFIG_CMD --variable=mtlibs) + OUTPUT_OLD=$(echo $($PKG_CONFIG_CMD --variable=mtlibs)) OUTPUT_NEW=$(./gpg-error-config-new --variable=mtlibs) [ "$OUTPUT_OLD" = "$OUTPUT_NEW" ] || failure --variable=mtlibs - OUTPUT_OLD=$($PKG_CONFIG_CMD --variable=host) + OUTPUT_OLD=$(echo $($PKG_CONFIG_CMD --variable=host)) OUTPUT_NEW=$(./gpg-error-config-new --variable=host) [ "$OUTPUT_OLD" = "$OUTPUT_NEW" ] || failure --variable=host fi -- cgit v1.2.3