Test all file name cases, also lint man page
This commit is contained in:
parent
bfc313ab75
commit
aac4ac6778
@ -8,4 +8,4 @@ sources:
|
||||
tasks:
|
||||
- test_ogvt: |
|
||||
cd ogvt
|
||||
go build && ./ogvt -file test/uptime.txt -sig test/uptime.txt.asc -pub test/adent.pub
|
||||
./run_test.sh
|
||||
|
12
run_test.sh
Executable file
12
run_test.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
mandoc -T lint ./ogvt.1
|
||||
go build
|
||||
echo "Testing detached armor: asc"
|
||||
./ogvt -file test/uptime.txt -sig test/uptime.txt.asc -pub test/adent.pub
|
||||
echo "Testing detached non-armor: gpg"
|
||||
./ogvt -file test/uptime.txt -sig test/uptime.txt.gpg -pub test/adent.pub
|
||||
echo "Testing detached non-armor: sig"
|
||||
./ogvt -file test/uptime.txt -sig test/uptime.txt.sig -pub test/adent.pub
|
BIN
test/uptime.txt.gpg
Normal file
BIN
test/uptime.txt.gpg
Normal file
Binary file not shown.
BIN
test/uptime.txt.sig
Normal file
BIN
test/uptime.txt.sig
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user