gpstools: Ordner opp i litt $Spc-problematikk.
[gpstools.git] / tests / gpst-pic / log / tests.log
blobdca6cb0c3486519efb3bd3f8f60fe9b2261cd34d
1 ok - use GPST;
2 ok - use GPSTxml;
3 # ========== Executing "gpst-pic.t" ==========
4 # Checking dependencies...
5 ok - "exifprobe -V" - Check that exifprobe(1) is installed
6 ok - "exifprobe -V" - Check that exifprobe(1) is installed (stderr)
7 # Testing --author option...
8 ok - "../../gpst-pic -a sunny files/DSC_4426.JPG" - Read date from DSC_4426.JPG and set --author
9 ok - "../../gpst-pic -a sunny files/DSC_4426.JPG" - Read date from DSC_4426.JPG and set --author (stderr)
10 # Testing --description option...
11 ok - "../../gpst-pic -d 'Skumle til\stander i Bergen.' files/DSC_4426.JPG" - Read date from DSC_4426.JPG and set --description with backslash
12 ok - "../../gpst-pic -d 'Skumle til\stander i Bergen.' files/DSC_4426.JPG" - Read date from DSC_4426.JPG and set --description with backslash (stderr)
13 # Testing -h (--help) option...
14 ok - "../../gpst-pic -h" - Option -h prints help screen
15 ok - "../../gpst-pic -h" - Option -h prints help screen (stderr)
16 ok - "../../gpst-pic -h" - No Id with only -h
17 # Testing --output-format option...
18 ok - "../../gpst-pic -o pgtab files/DSC_4426.JPG" - Output pgtab format from DSC_4426.JPG
19 ok - "../../gpst-pic -o pgtab files/DSC_4426.JPG" - Output pgtab format from DSC_4426.JPG (stderr)
20 ok - "../../gpst-pic -o xml files/DSC_4426.JPG" - Output XML information for DSC_4426.JPG
21 ok - "../../gpst-pic -o xml files/DSC_4426.JPG" - Output XML information for DSC_4426.JPG (stderr)
22 ok - "../../gpst-pic -o blurfl files/DSC_4426.JPG" - Unknown output format specified
23 ok - "../../gpst-pic -o blurfl files/DSC_4426.JPG" - Unknown output format specified (stderr)
24 # Testing -w (--strip-whitespace) option...
25 ok - "../../gpst-pic -w -o xml files/DSC_4426.JPG" - Strip whitespace from XML
26 ok - "../../gpst-pic -w -o xml files/DSC_4426.JPG" - Strip whitespace from XML (stderr)
27 # Testing -T (--timezone) option...
28 ok - "../../gpst-pic --timezone +1234 files/DSC_4426.JPG" - --timezone works
29 ok - "../../gpst-pic --timezone +1234 files/DSC_4426.JPG" - --timezone works (stderr)
30 ok - "../../gpst-pic -T +0200 files/DSC_4426.JPG" - Positive time zone
31 ok - "../../gpst-pic -T +0200 files/DSC_4426.JPG" - Positive time zone (stderr)
32 ok - "../../gpst-pic -T-0600 files/DSC_4426.JPG" - Negative time zone
33 ok - "../../gpst-pic -T-0600 files/DSC_4426.JPG" - Negative time zone (stderr)
34 ok - "../../gpst-pic -T CET files/DSC_4426.JPG" - Time zone abbreviation
35 ok - "../../gpst-pic -T CET files/DSC_4426.JPG" - Time zone abbreviation (stderr)
36 ok - "../../gpst-pic -T Z files/DSC_4426.JPG" - Zulu abbreviation
37 ok - "../../gpst-pic -T Z files/DSC_4426.JPG" - Zulu abbreviation (stderr)
38 ok - "../../gpst-pic -T erf324 files/DSC_4426.JPG" - Invalid time zone abbr, contains digits
39 ok - "../../gpst-pic -T erf324 files/DSC_4426.JPG" - Invalid time zone abbr, contains digits (stderr)
40 # Testing -v (--verbose) option...
41 ok - "../../gpst-pic -hv" - Option --version with -h returns Id string and help screen
42 ok - "../../gpst-pic -hv" - Option --version with -h returns Id string and help screen (stderr)
43 # Testing --version option...
44 ok - "../../gpst-pic --version" - Option --version returns Id string
45 ok - "../../gpst-pic --version" - Option --version returns Id string (stderr)
46 # Various...
47 ok - "../../gpst-pic files/DSC_4426.JPG" - Read date from DSC_4426.JPG, no options
48 ok - "../../gpst-pic files/DSC_4426.JPG" - Read date from DSC_4426.JPG, no options (stderr)
49 # Testing finished.
50 1..37