mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-24 18:34:52 +01:00
test: use corpora/default not corpus in T480-hex-escaping.sh
Turns out round trip tests didn't really round trip anything. Broken
by yours truly in 971cdc72cd
("test: make it possible to have
multiple corpora"). Ooops.
This commit is contained in:
parent
0b9e1a2472
commit
1c2152ce73
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ test_description="hex encoding and decoding"
|
|||
. ./test-lib.sh || exit 1
|
||||
|
||||
test_begin_subtest "round trip"
|
||||
find $TEST_DIRECTORY/corpus -type f -print | sort | xargs cat > EXPECTED
|
||||
find $TEST_DIRECTORY/corpora/default -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 EXPECTED OUTPUT
|
||||
|
||||
|
@ -25,7 +25,7 @@ $TEST_DIRECTORY/hex-xcode --direction=decode < EXPECTED.$test_count |\
|
|||
test_expect_equal_file EXPECTED.$test_count OUTPUT.$test_count
|
||||
|
||||
test_begin_subtest "round trip (in-place)"
|
||||
find $TEST_DIRECTORY/corpus -type f -print | sort | xargs cat > EXPECTED
|
||||
find $TEST_DIRECTORY/corpora/default -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 EXPECTED OUTPUT
|
||||
|
|
Loading…
Reference in a new issue