blob be4932ac2ab33df6092615ca4294424e722a34b1 1659 bytes (raw)
name: test/t0000-basic.sh # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
| | #!/bin/bash
#
# Copyright (c) 2005 Junio C Hamano
#
test_description='Test the very basics part #1.
Tests the test framework itself.
'
################################################################
# It appears that people try to run tests without building...
if ! test -x ../notmuch
then
echo >&2 'You do not seem to have built notmuch yet.'
exit 1
fi
. ./test-lib.sh
################################################################
# Test mail store prepared in test-lib.sh
test_expect_success \
'test that mail store was created' \
'test -d "${MAIL_DIR}"'
find "${MAIL_DIR}" -type f -print >should-be-empty
test_expect_success \
'mail store should be empty' \
'cmp -s /dev/null should-be-empty'
test_expect_success \
'NOTMUCH_CONFIG is set and points to an existing file' \
'test -f "${NOTMUCH_CONFIG}"'
test_expect_success \
'PATH is set to this repository' \
'test "`echo $PATH|cut -f1 -d:`" = "`dirname ${TEST_DIRECTORY}`"'
################################################################
# Test harness
test_expect_success 'success is reported like this' '
:
'
test_expect_failure 'pretend we have a known breakage' '
false
'
test_expect_failure 'pretend we have fixed a known breakage' '
:
'
test_set_prereq HAVEIT
haveit=no
test_expect_success HAVEIT 'test runs if prerequisite is satisfied' '
test_have_prereq HAVEIT &&
haveit=yes
'
donthaveit=yes
test_expect_success DONTHAVEIT 'unmet prerequisite causes test to be skipped' '
donthaveit=no
'
if test $haveit$donthaveit != yesyes
then
say "bug in test framework: prerequisite tags do not work reliably"
exit 1
fi
test_done
|
debug log:
solving be4932a ...
found be4932a in https://yhetil.org/notmuch/1265642169-15801-3-git-send-email-sojkam1@fel.cvut.cz/
found cc2ca21 in https://yhetil.org/notmuch/1265204568-24018-2-git-send-email-sojkam1@fel.cvut.cz/ ||
https://yhetil.org/notmuch/1265642169-15801-2-git-send-email-sojkam1@fel.cvut.cz/
found f4ca4fc in https://yhetil.org/notmuch/1265642169-15801-1-git-send-email-sojkam1@fel.cvut.cz/ ||
https://yhetil.org/notmuch/1265204568-24018-1-git-send-email-sojkam1@fel.cvut.cz/
applying [1/3] https://yhetil.org/notmuch/1265642169-15801-1-git-send-email-sojkam1@fel.cvut.cz/
diff --git a/test/t0000-basic.sh b/test/t0000-basic.sh
new file mode 100755
index 0000000..f4ca4fc
Checking patch test/t0000-basic.sh...
Applied patch test/t0000-basic.sh cleanly.
skipping https://yhetil.org/notmuch/1265204568-24018-1-git-send-email-sojkam1@fel.cvut.cz/ for f4ca4fc
index at:
100755 f4ca4fc85c6b52a2ba919528284f2b668e6bd3d2 test/t0000-basic.sh
applying [2/3] https://yhetil.org/notmuch/1265204568-24018-2-git-send-email-sojkam1@fel.cvut.cz/
diff --git a/test/t0000-basic.sh b/test/t0000-basic.sh
index f4ca4fc..cc2ca21 100755
Checking patch test/t0000-basic.sh...
Applied patch test/t0000-basic.sh cleanly.
skipping https://yhetil.org/notmuch/1265642169-15801-2-git-send-email-sojkam1@fel.cvut.cz/ for cc2ca21
index at:
100755 cc2ca21ef22f89132979356f8c4d507c033aa2d9 test/t0000-basic.sh
applying [3/3] https://yhetil.org/notmuch/1265642169-15801-3-git-send-email-sojkam1@fel.cvut.cz/
diff --git a/test/t0000-basic.sh b/test/t0000-basic.sh
index cc2ca21..be4932a 100755
Checking patch test/t0000-basic.sh...
Applied patch test/t0000-basic.sh cleanly.
index at:
100755 be4932ac2ab33df6092615ca4294424e722a34b1 test/t0000-basic.sh
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).