diff options
| author | Jani Nikula <jani@nikula.org> | 2017-09-25 23:38:17 +0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-10-20 19:52:14 -0300 |
| commit | 1c2152ce734f227b7aa7c5db9961b669177f2316 (patch) | |
| tree | c5094e80acf836f6e734e02b6106e65fa1912daa | |
| parent | 0b9e1a2472e50bd56a5e269d51aa729a4290a92a (diff) | |
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 971cdc72cdb8 ("test: make it possible to have
multiple corpora"). Ooops.
| -rwxr-xr-x | test/T480-hex-escaping.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/T480-hex-escaping.sh b/test/T480-hex-escaping.sh index 86cf3729..18b56600 100755 --- a/test/T480-hex-escaping.sh +++ b/test/T480-hex-escaping.sh @@ -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 |
