summaryrefslogtreecommitdiffstats
path: root/test/flac-to-flac-metadata-test-files
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-05 13:14:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-05 13:14:37 +0000
commitfd3b2704efc2b206784615c1a23eb25501842259 (patch)
tree61ba3a8af2a0ae2ac9ec362bbf18b038f5dc0448 /test/flac-to-flac-metadata-test-files
parentInitial commit. (diff)
downloadflac-fd3b2704efc2b206784615c1a23eb25501842259.tar.xz
flac-fd3b2704efc2b206784615c1a23eb25501842259.zip
Adding upstream version 1.4.3+ds.upstream/1.4.3+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/flac-to-flac-metadata-test-files')
-rw-r--r--test/flac-to-flac-metadata-test-files/Makefile.am49
-rw-r--r--test/flac-to-flac-metadata-test-files/Makefile.in529
-rw-r--r--test/flac-to-flac-metadata-test-files/Prøve.flacbin0 -> 1257 bytes
-rw-r--r--test/flac-to-flac-metadata-test-files/case00a-expect.meta84
-rw-r--r--test/flac-to-flac-metadata-test-files/case01a-expect.meta79
-rw-r--r--test/flac-to-flac-metadata-test-files/case01b-expect.meta75
-rw-r--r--test/flac-to-flac-metadata-test-files/case01c-expect.meta79
-rw-r--r--test/flac-to-flac-metadata-test-files/case01d-expect.meta79
-rw-r--r--test/flac-to-flac-metadata-test-files/case01e-expect.meta79
-rw-r--r--test/flac-to-flac-metadata-test-files/case02a-expect.meta73
-rw-r--r--test/flac-to-flac-metadata-test-files/case02b-expect.meta74
-rw-r--r--test/flac-to-flac-metadata-test-files/case02c-expect.meta79
-rw-r--r--test/flac-to-flac-metadata-test-files/case03a-expect.meta84
-rw-r--r--test/flac-to-flac-metadata-test-files/case03b-expect.meta84
-rw-r--r--test/flac-to-flac-metadata-test-files/case03c-expect.meta41
-rw-r--r--test/flac-to-flac-metadata-test-files/case04a-expect.meta26
-rw-r--r--test/flac-to-flac-metadata-test-files/case04b-expect.meta36
-rw-r--r--test/flac-to-flac-metadata-test-files/case04c-expect.meta32
-rw-r--r--test/flac-to-flac-metadata-test-files/case04d-expect.meta60
-rw-r--r--test/flac-to-flac-metadata-test-files/case04e-expect.meta70
-rw-r--r--test/flac-to-flac-metadata-test-files/input-SCPAP.flacbin0 -> 4021 bytes
-rw-r--r--test/flac-to-flac-metadata-test-files/input-SCVA.flacbin0 -> 1015 bytes
-rw-r--r--test/flac-to-flac-metadata-test-files/input-SCVAUP.flacbin0 -> 4224 bytes
-rw-r--r--test/flac-to-flac-metadata-test-files/input-SCVPAP.flacbin0 -> 4228 bytes
-rw-r--r--test/flac-to-flac-metadata-test-files/input-SVAUP.flacbin0 -> 3680 bytes
-rw-r--r--test/flac-to-flac-metadata-test-files/input-VA.flacbin0 -> 287 bytes
-rw-r--r--test/flac-to-flac-metadata-test-files/input0.cue7
-rw-r--r--test/flac-to-flac-metadata-test-files/שלום.flacbin0 -> 3926 bytes
-rw-r--r--test/flac-to-flac-metadata-test-files/🤔.flacbin0 -> 1708 bytes
29 files changed, 1719 insertions, 0 deletions
diff --git a/test/flac-to-flac-metadata-test-files/Makefile.am b/test/flac-to-flac-metadata-test-files/Makefile.am
new file mode 100644
index 0000000..d76843d
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/Makefile.am
@@ -0,0 +1,49 @@
+# FLAC - Free Lossless Audio Codec
+# Copyright (C) 2006-2009 Josh Coalson
+# Copyright (C) 2011-2023 Xiph.Org Foundation
+#
+# This file is part the FLAC project. FLAC is comprised of several
+# components distributed under different licenses. The codec libraries
+# are distributed under Xiph.Org's BSD-like license (see the file
+# COPYING.Xiph in this distribution). All other programs, libraries, and
+# plugins are distributed under the GPL (see COPYING.GPL). The documentation
+# is distributed under the Gnu FDL (see COPYING.FDL). Each file in the
+# FLAC distribution contains at the top the terms under which it may be
+# distributed.
+#
+# Since this particular file is relevant to all components of FLAC,
+# it may be distributed under the Xiph.Org license, which is the least
+# restrictive of those mentioned above. See the file COPYING.Xiph in this
+# distribution.
+
+EXTRA_DIST = \
+ case00a-expect.meta \
+ case01a-expect.meta \
+ case01b-expect.meta \
+ case01c-expect.meta \
+ case01d-expect.meta \
+ case01e-expect.meta \
+ case02a-expect.meta \
+ case02b-expect.meta \
+ case02c-expect.meta \
+ case03a-expect.meta \
+ case03b-expect.meta \
+ case03c-expect.meta \
+ case04a-expect.meta \
+ case04b-expect.meta \
+ case04c-expect.meta \
+ case04d-expect.meta \
+ case04e-expect.meta \
+ input-SCPAP.flac \
+ input-SCVA.flac \
+ input-SCVAUP.flac \
+ input-SCVPAP.flac \
+ input-SVAUP.flac \
+ input-VA.flac \
+ 🤔.flac \
+ Prøve.flac \
+ שלום.flac \
+ input0.cue
+
+clean-local:
+ -rm -f out.*
diff --git a/test/flac-to-flac-metadata-test-files/Makefile.in b/test/flac-to-flac-metadata-test-files/Makefile.in
new file mode 100644
index 0000000..ff68336
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/Makefile.in
@@ -0,0 +1,529 @@
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# FLAC - Free Lossless Audio Codec
+# Copyright (C) 2006-2009 Josh Coalson
+# Copyright (C) 2011-2023 Xiph.Org Foundation
+#
+# This file is part the FLAC project. FLAC is comprised of several
+# components distributed under different licenses. The codec libraries
+# are distributed under Xiph.Org's BSD-like license (see the file
+# COPYING.Xiph in this distribution). All other programs, libraries, and
+# plugins are distributed under the GPL (see COPYING.GPL). The documentation
+# is distributed under the Gnu FDL (see COPYING.FDL). Each file in the
+# FLAC distribution contains at the top the terms under which it may be
+# distributed.
+#
+# Since this particular file is relevant to all components of FLAC,
+# it may be distributed under the Xiph.Org license, which is the least
+# restrictive of those mentioned above. See the file COPYING.Xiph in this
+# distribution.
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = test/flac-to-flac-metadata-test-files
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/add_cflags.m4 \
+ $(top_srcdir)/m4/add_cxxflags.m4 \
+ $(top_srcdir)/m4/ax_add_fortify_source.m4 \
+ $(top_srcdir)/m4/ax_check_compile_flag.m4 \
+ $(top_srcdir)/m4/ax_check_enable_debug.m4 \
+ $(top_srcdir)/m4/bswap.m4 $(top_srcdir)/m4/clang.m4 \
+ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/gcc_version.m4 \
+ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \
+ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
+ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
+ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/ogg.m4 \
+ $(top_srcdir)/m4/really_gcc.m4 \
+ $(top_srcdir)/m4/stack_protect.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+am__DIST_COMMON = $(srcdir)/Makefile.in
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_64_BIT_WORDS = @ENABLE_64_BIT_WORDS@
+ETAGS = @ETAGS@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FLAC__HAS_OGG = @FLAC__HAS_OGG@
+FLAC__TEST_LEVEL = @FLAC__TEST_LEVEL@
+FLAC__TEST_WITH_VALGRIND = @FLAC__TEST_WITH_VALGRIND@
+GCC_MAJOR_VERSION = @GCC_MAJOR_VERSION@
+GCC_MINOR_VERSION = @GCC_MINOR_VERSION@
+GCC_VERSION = @GCC_VERSION@
+GIT_COMMIT_VERSION_HASH = @GIT_COMMIT_VERSION_HASH@
+GIT_FOUND = @GIT_FOUND@
+GREP = @GREP@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBICONV = @LIBICONV@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
+LIB_FUZZING_ENGINE = @LIB_FUZZING_ENGINE@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBICONV = @LTLIBICONV@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OBJ_FORMAT = @OBJ_FORMAT@
+OGG_CFLAGS = @OGG_CFLAGS@
+OGG_LIBS = @OGG_LIBS@
+OGG_PACKAGE = @OGG_PACKAGE@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PANDOC = @PANDOC@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RANLIB = @RANLIB@
+RC = @RC@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+runstatedir = @runstatedir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+EXTRA_DIST = \
+ case00a-expect.meta \
+ case01a-expect.meta \
+ case01b-expect.meta \
+ case01c-expect.meta \
+ case01d-expect.meta \
+ case01e-expect.meta \
+ case02a-expect.meta \
+ case02b-expect.meta \
+ case02c-expect.meta \
+ case03a-expect.meta \
+ case03b-expect.meta \
+ case03c-expect.meta \
+ case04a-expect.meta \
+ case04b-expect.meta \
+ case04c-expect.meta \
+ case04d-expect.meta \
+ case04e-expect.meta \
+ input-SCPAP.flac \
+ input-SCVA.flac \
+ input-SCVAUP.flac \
+ input-SCVPAP.flac \
+ input-SVAUP.flac \
+ input-VA.flac \
+ 🤔.flac \
+ Prøve.flac \
+ שלום.flac \
+ input0.cue
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/flac-to-flac-metadata-test-files/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign test/flac-to-flac-metadata-test-files/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+distdir: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
+
+distdir-am: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ clean-local cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+.PRECIOUS: Makefile
+
+
+clean-local:
+ -rm -f out.*
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/test/flac-to-flac-metadata-test-files/Prøve.flac b/test/flac-to-flac-metadata-test-files/Prøve.flac
new file mode 100644
index 0000000..1883075
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/Prøve.flac
Binary files differ
diff --git a/test/flac-to-flac-metadata-test-files/case00a-expect.meta b/test/flac-to-flac-metadata-test-files/case00a-expect.meta
new file mode 100644
index 0000000..6facc3e
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case00a-expect.meta
@@ -0,0 +1,84 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 10
+ point 0: sample_number=0
+ point 1: sample_number=4096
+ point 2: PLACEHOLDER
+ point 3: PLACEHOLDER
+ point 4: PLACEHOLDER
+ point 5: PLACEHOLDER
+ point 6: PLACEHOLDER
+ point 7: PLACEHOLDER
+ point 8: PLACEHOLDER
+ point 9: PLACEHOLDER
+METADATA block #2
+ type: 5 (CUESHEET)
+ is last: false
+ length: XXX
+ media catalog number: 1234567890123
+ lead-in: 88200
+ is CD: true
+ number of tracks: 3
+ track[0]
+ offset: 0
+ number: 1
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 2
+ index[0]
+ offset: 0
+ number: 1
+ index[1]
+ offset: 588
+ number: 2
+ track[1]
+ offset: 2940
+ number: 2
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 1
+ index[0]
+ offset: 0
+ number: 1
+ track[2]
+ offset: 5880
+ number: 170 (LEAD-OUT)
+METADATA block #3
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #4
+ type: 2 (APPLICATION)
+ is last: false
+ length: XXX
+ application ID: 66616b65
+ data contents:
+METADATA block #5
+ type: 126 (UNKNOWN)
+ is last: false
+ length: XXX
+ data contents:
+METADATA block #6
+ type: 1 (PADDING)
+ is last: true
+ length: XXX
diff --git a/test/flac-to-flac-metadata-test-files/case01a-expect.meta b/test/flac-to-flac-metadata-test-files/case01a-expect.meta
new file mode 100644
index 0000000..25ceaec
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case01a-expect.meta
@@ -0,0 +1,79 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 10
+ point 0: sample_number=0
+ point 1: sample_number=4096
+ point 2: PLACEHOLDER
+ point 3: PLACEHOLDER
+ point 4: PLACEHOLDER
+ point 5: PLACEHOLDER
+ point 6: PLACEHOLDER
+ point 7: PLACEHOLDER
+ point 8: PLACEHOLDER
+ point 9: PLACEHOLDER
+METADATA block #2
+ type: 5 (CUESHEET)
+ is last: false
+ length: XXX
+ media catalog number: 1234567890123
+ lead-in: 88200
+ is CD: true
+ number of tracks: 3
+ track[0]
+ offset: 0
+ number: 1
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 2
+ index[0]
+ offset: 0
+ number: 1
+ index[1]
+ offset: 588
+ number: 2
+ track[1]
+ offset: 2940
+ number: 2
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 1
+ index[0]
+ offset: 0
+ number: 1
+ track[2]
+ offset: 5880
+ number: 170 (LEAD-OUT)
+METADATA block #3
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #4
+ type: 2 (APPLICATION)
+ is last: false
+ length: XXX
+ application ID: 66616b65
+ data contents:
+METADATA block #5
+ type: 1 (PADDING)
+ is last: true
+ length: XXX
diff --git a/test/flac-to-flac-metadata-test-files/case01b-expect.meta b/test/flac-to-flac-metadata-test-files/case01b-expect.meta
new file mode 100644
index 0000000..1970646
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case01b-expect.meta
@@ -0,0 +1,75 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 10
+ point 0: sample_number=0
+ point 1: sample_number=4096
+ point 2: PLACEHOLDER
+ point 3: PLACEHOLDER
+ point 4: PLACEHOLDER
+ point 5: PLACEHOLDER
+ point 6: PLACEHOLDER
+ point 7: PLACEHOLDER
+ point 8: PLACEHOLDER
+ point 9: PLACEHOLDER
+METADATA block #2
+ type: 5 (CUESHEET)
+ is last: false
+ length: XXX
+ media catalog number: 1234567890123
+ lead-in: 88200
+ is CD: true
+ number of tracks: 3
+ track[0]
+ offset: 0
+ number: 1
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 2
+ index[0]
+ offset: 0
+ number: 1
+ index[1]
+ offset: 588
+ number: 2
+ track[1]
+ offset: 2940
+ number: 2
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 1
+ index[0]
+ offset: 0
+ number: 1
+ track[2]
+ offset: 5880
+ number: 170 (LEAD-OUT)
+METADATA block #3
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #4
+ type: 2 (APPLICATION)
+ is last: true
+ length: XXX
+ application ID: 66616b65
+ data contents:
diff --git a/test/flac-to-flac-metadata-test-files/case01c-expect.meta b/test/flac-to-flac-metadata-test-files/case01c-expect.meta
new file mode 100644
index 0000000..25ceaec
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case01c-expect.meta
@@ -0,0 +1,79 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 10
+ point 0: sample_number=0
+ point 1: sample_number=4096
+ point 2: PLACEHOLDER
+ point 3: PLACEHOLDER
+ point 4: PLACEHOLDER
+ point 5: PLACEHOLDER
+ point 6: PLACEHOLDER
+ point 7: PLACEHOLDER
+ point 8: PLACEHOLDER
+ point 9: PLACEHOLDER
+METADATA block #2
+ type: 5 (CUESHEET)
+ is last: false
+ length: XXX
+ media catalog number: 1234567890123
+ lead-in: 88200
+ is CD: true
+ number of tracks: 3
+ track[0]
+ offset: 0
+ number: 1
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 2
+ index[0]
+ offset: 0
+ number: 1
+ index[1]
+ offset: 588
+ number: 2
+ track[1]
+ offset: 2940
+ number: 2
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 1
+ index[0]
+ offset: 0
+ number: 1
+ track[2]
+ offset: 5880
+ number: 170 (LEAD-OUT)
+METADATA block #3
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #4
+ type: 2 (APPLICATION)
+ is last: false
+ length: XXX
+ application ID: 66616b65
+ data contents:
+METADATA block #5
+ type: 1 (PADDING)
+ is last: true
+ length: XXX
diff --git a/test/flac-to-flac-metadata-test-files/case01d-expect.meta b/test/flac-to-flac-metadata-test-files/case01d-expect.meta
new file mode 100644
index 0000000..25ceaec
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case01d-expect.meta
@@ -0,0 +1,79 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 10
+ point 0: sample_number=0
+ point 1: sample_number=4096
+ point 2: PLACEHOLDER
+ point 3: PLACEHOLDER
+ point 4: PLACEHOLDER
+ point 5: PLACEHOLDER
+ point 6: PLACEHOLDER
+ point 7: PLACEHOLDER
+ point 8: PLACEHOLDER
+ point 9: PLACEHOLDER
+METADATA block #2
+ type: 5 (CUESHEET)
+ is last: false
+ length: XXX
+ media catalog number: 1234567890123
+ lead-in: 88200
+ is CD: true
+ number of tracks: 3
+ track[0]
+ offset: 0
+ number: 1
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 2
+ index[0]
+ offset: 0
+ number: 1
+ index[1]
+ offset: 588
+ number: 2
+ track[1]
+ offset: 2940
+ number: 2
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 1
+ index[0]
+ offset: 0
+ number: 1
+ track[2]
+ offset: 5880
+ number: 170 (LEAD-OUT)
+METADATA block #3
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #4
+ type: 2 (APPLICATION)
+ is last: false
+ length: XXX
+ application ID: 66616b65
+ data contents:
+METADATA block #5
+ type: 1 (PADDING)
+ is last: true
+ length: XXX
diff --git a/test/flac-to-flac-metadata-test-files/case01e-expect.meta b/test/flac-to-flac-metadata-test-files/case01e-expect.meta
new file mode 100644
index 0000000..25ceaec
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case01e-expect.meta
@@ -0,0 +1,79 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 10
+ point 0: sample_number=0
+ point 1: sample_number=4096
+ point 2: PLACEHOLDER
+ point 3: PLACEHOLDER
+ point 4: PLACEHOLDER
+ point 5: PLACEHOLDER
+ point 6: PLACEHOLDER
+ point 7: PLACEHOLDER
+ point 8: PLACEHOLDER
+ point 9: PLACEHOLDER
+METADATA block #2
+ type: 5 (CUESHEET)
+ is last: false
+ length: XXX
+ media catalog number: 1234567890123
+ lead-in: 88200
+ is CD: true
+ number of tracks: 3
+ track[0]
+ offset: 0
+ number: 1
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 2
+ index[0]
+ offset: 0
+ number: 1
+ index[1]
+ offset: 588
+ number: 2
+ track[1]
+ offset: 2940
+ number: 2
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 1
+ index[0]
+ offset: 0
+ number: 1
+ track[2]
+ offset: 5880
+ number: 170 (LEAD-OUT)
+METADATA block #3
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #4
+ type: 2 (APPLICATION)
+ is last: false
+ length: XXX
+ application ID: 66616b65
+ data contents:
+METADATA block #5
+ type: 1 (PADDING)
+ is last: true
+ length: XXX
diff --git a/test/flac-to-flac-metadata-test-files/case02a-expect.meta b/test/flac-to-flac-metadata-test-files/case02a-expect.meta
new file mode 100644
index 0000000..63bf6f6
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case02a-expect.meta
@@ -0,0 +1,73 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 0
+METADATA block #2
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 10
+ point 0: sample_number=0
+ point 1: sample_number=4096
+ point 2: PLACEHOLDER
+ point 3: PLACEHOLDER
+ point 4: PLACEHOLDER
+ point 5: PLACEHOLDER
+ point 6: PLACEHOLDER
+ point 7: PLACEHOLDER
+ point 8: PLACEHOLDER
+ point 9: PLACEHOLDER
+METADATA block #3
+ type: 5 (CUESHEET)
+ is last: false
+ length: XXX
+ media catalog number: 1234567890123
+ lead-in: 88200
+ is CD: true
+ number of tracks: 3
+ track[0]
+ offset: 0
+ number: 1
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 2
+ index[0]
+ offset: 0
+ number: 1
+ index[1]
+ offset: 588
+ number: 2
+ track[1]
+ offset: 2940
+ number: 2
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 1
+ index[0]
+ offset: 0
+ number: 1
+ track[2]
+ offset: 5880
+ number: 170 (LEAD-OUT)
+METADATA block #4
+ type: 2 (APPLICATION)
+ is last: false
+ length: XXX
+ application ID: 66616b65
+ data contents:
+METADATA block #5
+ type: 1 (PADDING)
+ is last: true
+ length: XXX
diff --git a/test/flac-to-flac-metadata-test-files/case02b-expect.meta b/test/flac-to-flac-metadata-test-files/case02b-expect.meta
new file mode 100644
index 0000000..a6b269d
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case02b-expect.meta
@@ -0,0 +1,74 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 1
+ comment[0]: artist=0
+METADATA block #2
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 10
+ point 0: sample_number=0
+ point 1: sample_number=4096
+ point 2: PLACEHOLDER
+ point 3: PLACEHOLDER
+ point 4: PLACEHOLDER
+ point 5: PLACEHOLDER
+ point 6: PLACEHOLDER
+ point 7: PLACEHOLDER
+ point 8: PLACEHOLDER
+ point 9: PLACEHOLDER
+METADATA block #3
+ type: 5 (CUESHEET)
+ is last: false
+ length: XXX
+ media catalog number: 1234567890123
+ lead-in: 88200
+ is CD: true
+ number of tracks: 3
+ track[0]
+ offset: 0
+ number: 1
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 2
+ index[0]
+ offset: 0
+ number: 1
+ index[1]
+ offset: 588
+ number: 2
+ track[1]
+ offset: 2940
+ number: 2
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 1
+ index[0]
+ offset: 0
+ number: 1
+ track[2]
+ offset: 5880
+ number: 170 (LEAD-OUT)
+METADATA block #4
+ type: 2 (APPLICATION)
+ is last: false
+ length: XXX
+ application ID: 66616b65
+ data contents:
+METADATA block #5
+ type: 1 (PADDING)
+ is last: true
+ length: XXX
diff --git a/test/flac-to-flac-metadata-test-files/case02c-expect.meta b/test/flac-to-flac-metadata-test-files/case02c-expect.meta
new file mode 100644
index 0000000..2e2e06f
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case02c-expect.meta
@@ -0,0 +1,79 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 1
+ comment[0]: artist=0
+METADATA block #2
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 10
+ point 0: sample_number=0
+ point 1: sample_number=4096
+ point 2: PLACEHOLDER
+ point 3: PLACEHOLDER
+ point 4: PLACEHOLDER
+ point 5: PLACEHOLDER
+ point 6: PLACEHOLDER
+ point 7: PLACEHOLDER
+ point 8: PLACEHOLDER
+ point 9: PLACEHOLDER
+METADATA block #3
+ type: 5 (CUESHEET)
+ is last: false
+ length: XXX
+ media catalog number: 1234567890123
+ lead-in: 88200
+ is CD: true
+ number of tracks: 3
+ track[0]
+ offset: 0
+ number: 1
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 2
+ index[0]
+ offset: 0
+ number: 1
+ index[1]
+ offset: 588
+ number: 2
+ track[1]
+ offset: 2940
+ number: 2
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 1
+ index[0]
+ offset: 0
+ number: 1
+ track[2]
+ offset: 5880
+ number: 170 (LEAD-OUT)
+METADATA block #4
+ type: 2 (APPLICATION)
+ is last: false
+ length: XXX
+ application ID: 66616b65
+ data contents:
+METADATA block #5
+ type: 126 (UNKNOWN)
+ is last: false
+ length: XXX
+ data contents:
+METADATA block #6
+ type: 1 (PADDING)
+ is last: true
+ length: XXX
diff --git a/test/flac-to-flac-metadata-test-files/case03a-expect.meta b/test/flac-to-flac-metadata-test-files/case03a-expect.meta
new file mode 100644
index 0000000..c4c4c93
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case03a-expect.meta
@@ -0,0 +1,84 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 5 (CUESHEET)
+ is last: false
+ length: XXX
+ media catalog number: 9294969890929
+ lead-in: 88200
+ is CD: true
+ number of tracks: 3
+ track[0]
+ offset: 0
+ number: 1
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 1
+ index[0]
+ offset: 0
+ number: 1
+ track[1]
+ offset: 588
+ number: 2
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 2
+ index[0]
+ offset: 0
+ number: 1
+ index[1]
+ offset: 2352
+ number: 2
+ track[2]
+ offset: 5880
+ number: 170 (LEAD-OUT)
+METADATA block #2
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 10
+ point 0: sample_number=0
+ point 1: sample_number=4096
+ point 2: PLACEHOLDER
+ point 3: PLACEHOLDER
+ point 4: PLACEHOLDER
+ point 5: PLACEHOLDER
+ point 6: PLACEHOLDER
+ point 7: PLACEHOLDER
+ point 8: PLACEHOLDER
+ point 9: PLACEHOLDER
+METADATA block #3
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #4
+ type: 2 (APPLICATION)
+ is last: false
+ length: XXX
+ application ID: 66616b65
+ data contents:
+METADATA block #5
+ type: 126 (UNKNOWN)
+ is last: false
+ length: XXX
+ data contents:
+METADATA block #6
+ type: 1 (PADDING)
+ is last: true
+ length: XXX
diff --git a/test/flac-to-flac-metadata-test-files/case03b-expect.meta b/test/flac-to-flac-metadata-test-files/case03b-expect.meta
new file mode 100644
index 0000000..c4c4c93
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case03b-expect.meta
@@ -0,0 +1,84 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 5 (CUESHEET)
+ is last: false
+ length: XXX
+ media catalog number: 9294969890929
+ lead-in: 88200
+ is CD: true
+ number of tracks: 3
+ track[0]
+ offset: 0
+ number: 1
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 1
+ index[0]
+ offset: 0
+ number: 1
+ track[1]
+ offset: 588
+ number: 2
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 2
+ index[0]
+ offset: 0
+ number: 1
+ index[1]
+ offset: 2352
+ number: 2
+ track[2]
+ offset: 5880
+ number: 170 (LEAD-OUT)
+METADATA block #2
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 10
+ point 0: sample_number=0
+ point 1: sample_number=4096
+ point 2: PLACEHOLDER
+ point 3: PLACEHOLDER
+ point 4: PLACEHOLDER
+ point 5: PLACEHOLDER
+ point 6: PLACEHOLDER
+ point 7: PLACEHOLDER
+ point 8: PLACEHOLDER
+ point 9: PLACEHOLDER
+METADATA block #3
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #4
+ type: 2 (APPLICATION)
+ is last: false
+ length: XXX
+ application ID: 66616b65
+ data contents:
+METADATA block #5
+ type: 126 (UNKNOWN)
+ is last: false
+ length: XXX
+ data contents:
+METADATA block #6
+ type: 1 (PADDING)
+ is last: true
+ length: XXX
diff --git a/test/flac-to-flac-metadata-test-files/case03c-expect.meta b/test/flac-to-flac-metadata-test-files/case03c-expect.meta
new file mode 100644
index 0000000..6bdefb3
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case03c-expect.meta
@@ -0,0 +1,41 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5879
+ MD5 signature: 2ea0e6a767b66bf0668523fd77672ce1
+METADATA block #1
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 1
+ point 0: sample_number=0
+METADATA block #2
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #3
+ type: 2 (APPLICATION)
+ is last: false
+ length: XXX
+ application ID: 66616b65
+ data contents:
+METADATA block #4
+ type: 126 (UNKNOWN)
+ is last: false
+ length: XXX
+ data contents:
+METADATA block #5
+ type: 1 (PADDING)
+ is last: true
+ length: XXX
diff --git a/test/flac-to-flac-metadata-test-files/case04a-expect.meta b/test/flac-to-flac-metadata-test-files/case04a-expect.meta
new file mode 100644
index 0000000..cb50bb4
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case04a-expect.meta
@@ -0,0 +1,26 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #2
+ type: 2 (APPLICATION)
+ is last: true
+ length: XXX
+ application ID: 66616b65
+ data contents:
diff --git a/test/flac-to-flac-metadata-test-files/case04b-expect.meta b/test/flac-to-flac-metadata-test-files/case04b-expect.meta
new file mode 100644
index 0000000..71d9b95
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case04b-expect.meta
@@ -0,0 +1,36 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 5
+ point 0: sample_number=0
+ point 1: sample_number=4096
+ point 2: PLACEHOLDER
+ point 3: PLACEHOLDER
+ point 4: PLACEHOLDER
+METADATA block #2
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #3
+ type: 2 (APPLICATION)
+ is last: true
+ length: XXX
+ application ID: 66616b65
+ data contents:
diff --git a/test/flac-to-flac-metadata-test-files/case04c-expect.meta b/test/flac-to-flac-metadata-test-files/case04c-expect.meta
new file mode 100644
index 0000000..f163edf
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case04c-expect.meta
@@ -0,0 +1,32 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 1
+ point 0: sample_number=0
+METADATA block #2
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #3
+ type: 2 (APPLICATION)
+ is last: true
+ length: XXX
+ application ID: 66616b65
+ data contents:
diff --git a/test/flac-to-flac-metadata-test-files/case04d-expect.meta b/test/flac-to-flac-metadata-test-files/case04d-expect.meta
new file mode 100644
index 0000000..086f684
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case04d-expect.meta
@@ -0,0 +1,60 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 5 (CUESHEET)
+ is last: false
+ length: XXX
+ media catalog number: 1234567890123
+ lead-in: 88200
+ is CD: true
+ number of tracks: 3
+ track[0]
+ offset: 0
+ number: 1
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 2
+ index[0]
+ offset: 0
+ number: 1
+ index[1]
+ offset: 588
+ number: 2
+ track[1]
+ offset: 2940
+ number: 2
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 1
+ index[0]
+ offset: 0
+ number: 1
+ track[2]
+ offset: 5880
+ number: 170 (LEAD-OUT)
+METADATA block #2
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #3
+ type: 2 (APPLICATION)
+ is last: true
+ length: XXX
+ application ID: 66616b65
+ data contents:
diff --git a/test/flac-to-flac-metadata-test-files/case04e-expect.meta b/test/flac-to-flac-metadata-test-files/case04e-expect.meta
new file mode 100644
index 0000000..6559840
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/case04e-expect.meta
@@ -0,0 +1,70 @@
+METADATA block #0
+ type: 0 (STREAMINFO)
+ is last: false
+ length: XXX
+ sample_rate: 44100 Hz
+ channels: 2
+ bits-per-sample: 16
+ total samples: 5880
+ MD5 signature: 74ffd4737eb5488d512be4af58943362
+METADATA block #1
+ type: 3 (SEEKTABLE)
+ is last: false
+ length: XXX
+ seek points: 5
+ point 0: sample_number=0
+ point 1: sample_number=4096
+ point 2: PLACEHOLDER
+ point 3: PLACEHOLDER
+ point 4: PLACEHOLDER
+METADATA block #2
+ type: 5 (CUESHEET)
+ is last: false
+ length: XXX
+ media catalog number: 1234567890123
+ lead-in: 88200
+ is CD: true
+ number of tracks: 3
+ track[0]
+ offset: 0
+ number: 1
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 2
+ index[0]
+ offset: 0
+ number: 1
+ index[1]
+ offset: 588
+ number: 2
+ track[1]
+ offset: 2940
+ number: 2
+ ISRC:
+ type: AUDIO
+ pre-emphasis: false
+ number of index points: 1
+ index[0]
+ offset: 0
+ number: 1
+ track[2]
+ offset: 5880
+ number: 170 (LEAD-OUT)
+METADATA block #3
+ type: 4 (VORBIS_COMMENT)
+ is last: false
+ length: XXX
+ comments: 6
+ comment[0]: REPLAYGAIN_TRACK_PEAK=0.99996948
+ comment[1]: REPLAYGAIN_TRACK_GAIN=-7.89 dB
+ comment[2]: REPLAYGAIN_ALBUM_PEAK=0.99996948
+ comment[3]: REPLAYGAIN_ALBUM_GAIN=-7.89 dB
+ comment[4]: artist=1
+ comment[5]: title=2
+METADATA block #4
+ type: 2 (APPLICATION)
+ is last: true
+ length: XXX
+ application ID: 66616b65
+ data contents:
diff --git a/test/flac-to-flac-metadata-test-files/input-SCPAP.flac b/test/flac-to-flac-metadata-test-files/input-SCPAP.flac
new file mode 100644
index 0000000..6fde318
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/input-SCPAP.flac
Binary files differ
diff --git a/test/flac-to-flac-metadata-test-files/input-SCVA.flac b/test/flac-to-flac-metadata-test-files/input-SCVA.flac
new file mode 100644
index 0000000..4bb6926
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/input-SCVA.flac
Binary files differ
diff --git a/test/flac-to-flac-metadata-test-files/input-SCVAUP.flac b/test/flac-to-flac-metadata-test-files/input-SCVAUP.flac
new file mode 100644
index 0000000..e4ecc95
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/input-SCVAUP.flac
Binary files differ
diff --git a/test/flac-to-flac-metadata-test-files/input-SCVPAP.flac b/test/flac-to-flac-metadata-test-files/input-SCVPAP.flac
new file mode 100644
index 0000000..7474928
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/input-SCVPAP.flac
Binary files differ
diff --git a/test/flac-to-flac-metadata-test-files/input-SVAUP.flac b/test/flac-to-flac-metadata-test-files/input-SVAUP.flac
new file mode 100644
index 0000000..e3fa5c1
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/input-SVAUP.flac
Binary files differ
diff --git a/test/flac-to-flac-metadata-test-files/input-VA.flac b/test/flac-to-flac-metadata-test-files/input-VA.flac
new file mode 100644
index 0000000..4fac878
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/input-VA.flac
Binary files differ
diff --git a/test/flac-to-flac-metadata-test-files/input0.cue b/test/flac-to-flac-metadata-test-files/input0.cue
new file mode 100644
index 0000000..2894bd0
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/input0.cue
@@ -0,0 +1,7 @@
+CATALOG 9294969890929
+FILE "blah" FLAC
+ TRACK 01 AUDIO
+ INDEX 01 00:00:00
+ TRACK 02 AUDIO
+ INDEX 01 00:00:01
+ INDEX 02 00:00:05
diff --git a/test/flac-to-flac-metadata-test-files/שלום.flac b/test/flac-to-flac-metadata-test-files/שלום.flac
new file mode 100644
index 0000000..0e66868
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/שלום.flac
Binary files differ
diff --git a/test/flac-to-flac-metadata-test-files/🤔.flac b/test/flac-to-flac-metadata-test-files/🤔.flac
new file mode 100644
index 0000000..7373da6
--- /dev/null
+++ b/test/flac-to-flac-metadata-test-files/🤔.flac
Binary files differ