X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT480-hex-escaping.sh;h=86cf37292d8561b2725fe2594b0240e1c78d511f;hp=ad50e1bcc0716a5ad587f0deb50b7e1912d8d893;hb=e1b7d32db00ea8afaa1f2ae31bdaa5cb423dda96;hpb=a755c9d6a9099366cc82ba3a4bee8e6d2b83d529 diff --git a/test/T480-hex-escaping.sh b/test/T480-hex-escaping.sh index ad50e1bc..86cf3729 100755 --- a/test/T480-hex-escaping.sh +++ b/test/T480-hex-escaping.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash test_description="hex encoding and decoding" -. ./test-lib.sh +. ./test-lib.sh || exit 1 test_begin_subtest "round trip" find $TEST_DIRECTORY/corpus -type f -print | sort | xargs cat > EXPECTED $TEST_DIRECTORY/hex-xcode --direction=encode < EXPECTED | $TEST_DIRECTORY/hex-xcode --direction=decode > OUTPUT -test_expect_equal_file OUTPUT EXPECTED +test_expect_equal_file EXPECTED OUTPUT test_begin_subtest "punctuation" tag1='comic_swear=$&^%$^%\\//-+$^%$' @@ -28,7 +28,7 @@ test_begin_subtest "round trip (in-place)" find $TEST_DIRECTORY/corpus -type f -print | sort | xargs cat > EXPECTED $TEST_DIRECTORY/hex-xcode --in-place --direction=encode < EXPECTED |\ $TEST_DIRECTORY/hex-xcode --in-place --direction=decode > OUTPUT -test_expect_equal_file OUTPUT EXPECTED +test_expect_equal_file EXPECTED OUTPUT test_begin_subtest "punctuation (in-place)" tag1='comic_swear=$&^%$^%\\//-+$^%$'