diff options
| author | Kevin Boulain <kevin@boula.in> | 2023-03-29 18:13:30 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-03-30 07:48:27 -0300 |
| commit | 552d9ec9f766762ffdd1f565fc88b0a980f15b39 (patch) | |
| tree | a99e21a55d831a95ff27941d801ddb17d7321dbe /test | |
| parent | ce59df52968d661bc5a173f75a37f27d290d955b (diff) | |
test: remove unnecessary sorting
The other tests rely on a stable output.
Diffstat (limited to 'test')
| -rwxr-xr-x | test/T610-message-property.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/T610-message-property.sh b/test/T610-message-property.sh index 07a48053..a4814d64 100755 --- a/test/T610-message-property.sh +++ b/test/T610-message-property.sh @@ -186,18 +186,6 @@ EXPECT0(notmuch_message_add_property (message, "testkey3", "testvalue3")); EXPECT0(notmuch_message_add_property (message, "testkey3", "alice3")); print_properties (message, "testkey", FALSE); EOF -# expected: 4 values for testkey1, 3 values for testkey3 -# they are not guaranteed to be sorted, so sort them, leaving the first -# line '== stdout ==' and the end ('== stderr ==' and whatever error -# may have been printed) alone -mv OUTPUT unsorted_OUTPUT -awk ' NR == 1 { print; next } \ - NR < 6 { print | "sort"; next } \ - NR == 6 { close("sort") } \ - NR < 9 { print | "sort"; next } \ - NR == 9 { close("sort") } \ - { print }' unsorted_OUTPUT > OUTPUT -rm unsorted_OUTPUT cat <<'EOF' >EXPECTED == stdout == testkey1 = alice |
