t: rename to _t to fix module support

The following two files contain characters which aren't valid in source
files within a Go module:

	t/.password-store/GoJira/api-token:gojira@corybennett.org.gpg
	t/.password-store/GoJira/api-token:mothra@corybennett.org.gpg

The directory only contains test scripts, so it doesn't need to be
included in the module. The simplest way to do that is to start the
directory with an underscore.

Fixes #228.
This commit is contained in:
Daniel Martí
2019-05-26 21:42:11 +01:00
committed by Cory Bennett
parent 80743e4da8
commit 8994b42f71
40 changed files with 12 additions and 12 deletions
+7 -7
View File
@@ -1,10 +1,10 @@
jira jira
schemas/*.json schemas/*.json
t/.gnupg/random_seed /_t/.gnupg/random_seed
t/issue.props /_t/issue.props
t/attach.props /_t/attach.props
t/garbage.bin /_t/garbage.bin
t/attach1.txt /_t/attach1.txt
t/binary.out /_t/binary.out
t/foobar.bin /_t/foobar.bin
dist dist
+2 -2
View File
@@ -84,8 +84,8 @@ clean:
rm -rf ./$(NAME) rm -rf ./$(NAME)
prove: prove:
chmod -R g-rwx,o-rwx $(CWD)/t/.gnupg chmod -R g-rwx,o-rwx $(CWD)/_t/.gnupg
OSHT_VERBOSE=1 prove -v OSHT_VERBOSE=1 prove -v _t/*.t
generate: generate:
cd schemas && ./fetch-schemas.py cd schemas && ./fetch-schemas.py
View File
View File
View File
View File
+1 -1
View File
@@ -62,7 +62,7 @@ DIFF <<EOF
+------------+------------------------------+------------+--------------+--------------+ +------------+------------------------------+------------+--------------+--------------+
| id | filename | bytes | user | created | | id | filename | bytes | user | created |
+------------+------------------------------+------------+--------------+--------------+ +------------+------------------------------+------------+--------------+--------------+
| $(printf %10s $attach1) | README.md | 1238 | gojira | a minute | | $(printf %10s $attach1) | README.md | 1239 | gojira | a minute |
| $(printf %10s $attach2) | garbage.bin | 1048576 | gojira | a minute | | $(printf %10s $attach2) | garbage.bin | 1048576 | gojira | a minute |
| $(printf %10s $attach3) | foobar.bin | 1048576 | gojira | a minute | | $(printf %10s $attach3) | foobar.bin | 1048576 | gojira | a minute |
+------------+------------------------------+------------+--------------+--------------+ +------------+------------------------------+------------+--------------+--------------+
View File
View File
View File
View File
View File
View File
+1 -1
View File
@@ -9,7 +9,7 @@ From the top level of the project you can run:
# this creates a local "jira" binary # this creates a local "jira" binary
make make
# this runs the integration tests in the "t" directory # this runs the integration tests in the "_t" directory
prove prove
``` ```
View File