git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
blob 1675d3e1715bf53bd8f54df2e38789435f65ee28 934 bytes (raw)
name: t/t0205-gettext-poison.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
 
#!/bin/sh
#
# Copyright (c) 2010 Ævar Arnfjörð Bjarmason
#

test_description='Gettext Shell poison'

GIT_TEST_GETTEXT_POISON=true
export GIT_TEST_GETTEXT_POISON
. ./lib-gettext.sh

test_expect_success 'sanity: $GIT_INTERNAL_GETTEXT_SH_SCHEME" is poison' '
    test "$GIT_INTERNAL_GETTEXT_SH_SCHEME" = "poison"
'

test_expect_success 'gettext: our gettext() fallback has poison semantics' '
    printf "# GETTEXT POISON #" >expect &&
    gettext "test" >actual &&
    test_cmp expect actual &&
    printf "# GETTEXT POISON #" >expect &&
    gettext "test more words" >actual &&
    test_cmp expect actual
'

test_expect_success 'eval_gettext: our eval_gettext() fallback has poison semantics' '
    printf "# GETTEXT POISON #" >expect &&
    eval_gettext "test" >actual &&
    test_cmp expect actual &&
    printf "# GETTEXT POISON #" >expect &&
    eval_gettext "test more words" >actual &&
    test_cmp expect actual
'

test_done

debug log:

solving 1675d3e171 ...
found 1675d3e171 in https://public-inbox.org/git/20190619233046.27503-4-avarab@gmail.com/ ||
	https://public-inbox.org/git/20181024114725.3927-1-avarab@gmail.com/
found a06269f38a in https://80x24.org/mirrors/git.git
preparing index
index prepared:
100755 a06269f38ae555f952b83b6fbc38374a725293d1	t/t0205-gettext-poison.sh

applying [1/1] https://public-inbox.org/git/20190619233046.27503-4-avarab@gmail.com/
diff --git a/t/t0205-gettext-poison.sh b/t/t0205-gettext-poison.sh
index a06269f38a..1675d3e171 100755

Checking patch t/t0205-gettext-poison.sh...
Applied patch t/t0205-gettext-poison.sh cleanly.

skipping https://public-inbox.org/git/20181024114725.3927-1-avarab@gmail.com/ for 1675d3e171
index at:
100755 1675d3e1715bf53bd8f54df2e38789435f65ee28	t/t0205-gettext-poison.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://80x24.org/mirrors/git.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).