diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-07-29 00:49:53 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-07-29 00:49:53 +0300 |
commit | 07e8fc8a6afe790f7e225601392cf6d17b6a3591 (patch) | |
tree | 8d11d1574df20477a8f7359cb0403511948add3a /tests/info-v12-00.at | |
parent | c675f974b1787097237be644f77ba1d40385e425 (diff) | |
download | idest-07e8fc8a6afe790f7e225601392cf6d17b6a3591.tar.gz idest-07e8fc8a6afe790f7e225601392cf6d17b6a3591.tar.bz2 |
Add testsuite
* Makefile.am (SUBDIRS): Add tests
* configure.ac: Initialize testsuite.
* src/cmdline.opt (get_options): Bugfix.
* src/frametab.gperf: Use condesc instead of descr,
which is reserved.
* src/getopt.m4: Fix version output.
* src/guile.c: Bugfixes.
* src/main.c (guile_argv): Declare here, instead of in guile.c.
* tests/Makefile.am: New file.
* tests/testsuite.at: New file.
* tests/.gitignore: New file.
* tests/Makefile.am: New file.
* tests/atlocal.in: New file.
* tests/genfile.c: New file.
* tests/id3v1: New file.
* tests/id3v1-2: New file.
* tests/id3v2: New file.
* tests/idest-32.png: New file.
* tests/idest-68.png: New file.
* tests/info-v1-00.at: New file.
* tests/info-v12-00.at: New file.
* tests/info-v2-00.at: New file.
* tests/query-v1-00.at: New file.
* tests/query-v1-01.at: New file.
* tests/query-v2-00.at: New file.
* tests/query-v2-01.at: New file.
* tests/query-v2-02.at: New file.
* tests/query-v2-03.at: New file.
* tests/query-v2-04.at: New file.
* tests/set-v1-00.at: New file.
* tests/set-v2-00.at: New file.
* tests/version.at: New file.
Diffstat (limited to 'tests/info-v12-00.at')
-rw-r--r-- | tests/info-v12-00.at | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/info-v12-00.at b/tests/info-v12-00.at new file mode 100644 index 0000000..1665060 --- /dev/null +++ b/tests/info-v12-00.at @@ -0,0 +1,36 @@ +# This file is part of idest -*- autotest -*- +# Copyright (C) 2011 Sergey Poznyakoff +# +# Idest is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# Idest is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with idest. If not, see <http://www.gnu.org/licenses/>. + +AT_SETUP([info (both versions)]) +AT_KEYWORDS([info v1 v2 info-v12-00]) + +AT_CHECK([ +genfile -f file -p $abs_srcdir/id3v2 -s $abs_srcdir/id3v1 1000 +idest -i file +], +[0], +[file: file +ntags: 2 +version: 2.4.0 +offset: 0 +length: 1953 +version: 1.1 +offset: 2953 +length: 128 +]) + +AT_CLEANUP + |