X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT240-dump-restore.sh;h=0870ff921f1e1642359fe088fff7f0e9ef8a3e63;hb=73b8f0b8d71af395667022395b6d6bb692c3aaf2;hp=1f1f08667ada652ec57ebe3d293dd3ff402d4fce;hpb=33e58021958f8069ad46d7bd05cf586676fb6ae7;p=notmuch diff --git a/test/T240-dump-restore.sh b/test/T240-dump-restore.sh index 1f1f0866..0870ff92 100755 --- a/test/T240-dump-restore.sh +++ b/test/T240-dump-restore.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash test_description="\"notmuch dump\" and \"notmuch restore\"" -. ./test-lib.sh || exit 1 +. $(dirname "$0")/test-lib.sh || exit 1 NOTMUCH_NEW > /dev/null test_begin_subtest "dump header" @@ -129,7 +129,7 @@ test_begin_subtest "Check for a safe set of message-ids" notmuch search --output=messages from:cworth | sed s/^id:// > EXPECTED notmuch search --output=messages from:cworth | sed s/^id:// |\ $TEST_DIRECTORY/hex-xcode --direction=encode > OUTPUT -test_expect_equal_file OUTPUT EXPECTED +test_expect_equal_file EXPECTED OUTPUT test_begin_subtest "format=batch-tag, dump sanity check." NOTMUCH_DUMP_TAGS --format=sup from:cworth | cut -f1 -d' ' | \