From 8ccb487c21368a7fdc8c7c72315325bf0aa06147 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 19:44:12 +0200 Subject: Adding upstream version 3:4.8.29. Signed-off-by: Daniel Baumann --- tests/src/vfs/extfs/Makefile.am | 2 + tests/src/vfs/extfs/Makefile.in | 757 +++++++++++ tests/src/vfs/extfs/helpers-list/Makefile.am | 131 ++ tests/src/vfs/extfs/helpers-list/Makefile.in | 1334 ++++++++++++++++++++ tests/src/vfs/extfs/helpers-list/README | 207 +++ tests/src/vfs/extfs/helpers-list/README.css.inc | 23 + tests/src/vfs/extfs/helpers-list/data/config.sh.in | 9 + tests/src/vfs/extfs/helpers-list/data/dummy | 3 + tests/src/vfs/extfs/helpers-list/data/hp48+.README | 8 + tests/src/vfs/extfs/helpers-list/data/hp48+.args | 1 + tests/src/vfs/extfs/helpers-list/data/hp48+.input | 6 + tests/src/vfs/extfs/helpers-list/data/hp48+.output | 3 + .../vfs/extfs/helpers-list/data/lslR.1.spaces.args | 1 + .../extfs/helpers-list/data/lslR.1.spaces.input | 23 + .../extfs/helpers-list/data/lslR.1.spaces.output | 9 + .../extfs/helpers-list/data/lslR.2.spaces-iso.args | 1 + .../helpers-list/data/lslR.2.spaces-iso.input | 23 + .../helpers-list/data/lslR.2.spaces-iso.output | 9 + .../data/lslR.3.spaces-iso-noslash.args | 1 + .../data/lslR.3.spaces-iso-noslash.input | 17 + .../data/lslR.3.spaces-iso-noslash.output | 6 + tests/src/vfs/extfs/helpers-list/data/lslR.README | 26 + tests/src/vfs/extfs/helpers-list/data/rpm.README | 24 + .../extfs/helpers-list/data/rpm.custom.env_vars | 3 + .../vfs/extfs/helpers-list/data/rpm.custom.input | 261 ++++ .../vfs/extfs/helpers-list/data/rpm.custom.output | 41 + .../vfs/extfs/helpers-list/data/rpm.glib.env_vars | 3 + .../src/vfs/extfs/helpers-list/data/rpm.glib.input | 264 ++++ .../vfs/extfs/helpers-list/data/rpm.glib.output | 27 + .../src/vfs/extfs/helpers-list/data/rpm.rewrite.sh | 52 + tests/src/vfs/extfs/helpers-list/data/u7z.README | 26 + .../extfs/helpers-list/data/u7z.complex.env_vars | 1 + .../vfs/extfs/helpers-list/data/u7z.complex.input | 74 ++ .../vfs/extfs/helpers-list/data/u7z.complex.output | 27 + .../helpers-list/data/u7z.missing-date.env_vars | 1 + .../extfs/helpers-list/data/u7z.missing-date.input | 5 + .../helpers-list/data/u7z.missing-date.output | 3 + .../data/u7z.missing-size-and-date.env_vars | 1 + .../data/u7z.missing-size-and-date.input | 11 + .../data/u7z.missing-size-and-date.output | 9 + .../vfs/extfs/helpers-list/data/u7z.simple.input | 64 + .../vfs/extfs/helpers-list/data/u7z.simple.output | 42 + tests/src/vfs/extfs/helpers-list/data/uace.README | 15 + tests/src/vfs/extfs/helpers-list/data/uace.input | 148 +++ tests/src/vfs/extfs/helpers-list/data/uace.output | 136 ++ tests/src/vfs/extfs/helpers-list/data/uarc.README | 19 + tests/src/vfs/extfs/helpers-list/data/uarc.input | 7 + tests/src/vfs/extfs/helpers-list/data/uarc.output | 3 + tests/src/vfs/extfs/helpers-list/data/urar.README | 17 + .../extfs/helpers-list/data/urar.v4,v3.env_vars | 1 + .../vfs/extfs/helpers-list/data/urar.v4,v3.input | 29 + .../vfs/extfs/helpers-list/data/urar.v4,v3.output | 9 + .../extfs/helpers-list/data/urar.v6,v5.env_vars | 1 + .../vfs/extfs/helpers-list/data/urar.v6,v5.input | 102 ++ .../vfs/extfs/helpers-list/data/urar.v6,v5.output | 9 + tests/src/vfs/extfs/helpers-list/data/uzip.README | 16 + .../helpers-list/data/uzip.with-zipinfo.env_vars | 1 + .../helpers-list/data/uzip.with-zipinfo.input | 45 + .../helpers-list/data/uzip.with-zipinfo.output | 42 + .../data/uzip.without-zipinfo--mdy.env_vars | 1 + .../data/uzip.without-zipinfo--mdy.input | 2 + .../data/uzip.without-zipinfo--mdy.output | 2 + .../data/uzip.without-zipinfo--ymd.env_vars | 1 + .../data/uzip.without-zipinfo--ymd.input | 42 + .../data/uzip.without-zipinfo--ymd.output | 42 + tests/src/vfs/extfs/helpers-list/data/uzoo.README | 8 + tests/src/vfs/extfs/helpers-list/data/uzoo.input | 18 + tests/src/vfs/extfs/helpers-list/data/uzoo.output | 18 + tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c | 407 ++++++ tests/src/vfs/extfs/helpers-list/mc_xcat | 16 + tests/src/vfs/extfs/helpers-list/misc/Makefile.am | 2 + tests/src/vfs/extfs/helpers-list/misc/Makefile.in | 579 +++++++++ .../vfs/extfs/helpers-list/misc/rpm/rpm2tags.pl | 103 ++ .../src/vfs/extfs/helpers-list/misc/rpm/test.spec | 85 ++ tests/src/vfs/extfs/helpers-list/test_all | 462 +++++++ 75 files changed, 5927 insertions(+) create mode 100644 tests/src/vfs/extfs/Makefile.am create mode 100644 tests/src/vfs/extfs/Makefile.in create mode 100644 tests/src/vfs/extfs/helpers-list/Makefile.am create mode 100644 tests/src/vfs/extfs/helpers-list/Makefile.in create mode 100644 tests/src/vfs/extfs/helpers-list/README create mode 100644 tests/src/vfs/extfs/helpers-list/README.css.inc create mode 100644 tests/src/vfs/extfs/helpers-list/data/config.sh.in create mode 100644 tests/src/vfs/extfs/helpers-list/data/dummy create mode 100644 tests/src/vfs/extfs/helpers-list/data/hp48+.README create mode 100644 tests/src/vfs/extfs/helpers-list/data/hp48+.args create mode 100644 tests/src/vfs/extfs/helpers-list/data/hp48+.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/hp48+.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.args create mode 100644 tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.args create mode 100644 tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.args create mode 100644 tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/lslR.README create mode 100644 tests/src/vfs/extfs/helpers-list/data/rpm.README create mode 100644 tests/src/vfs/extfs/helpers-list/data/rpm.custom.env_vars create mode 100644 tests/src/vfs/extfs/helpers-list/data/rpm.custom.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/rpm.custom.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/rpm.glib.env_vars create mode 100644 tests/src/vfs/extfs/helpers-list/data/rpm.glib.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/rpm.glib.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/rpm.rewrite.sh create mode 100644 tests/src/vfs/extfs/helpers-list/data/u7z.README create mode 100644 tests/src/vfs/extfs/helpers-list/data/u7z.complex.env_vars create mode 100644 tests/src/vfs/extfs/helpers-list/data/u7z.complex.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/u7z.complex.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.env_vars create mode 100644 tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.env_vars create mode 100644 tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/u7z.simple.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/u7z.simple.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/uace.README create mode 100644 tests/src/vfs/extfs/helpers-list/data/uace.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/uace.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/uarc.README create mode 100644 tests/src/vfs/extfs/helpers-list/data/uarc.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/uarc.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/urar.README create mode 100644 tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.env_vars create mode 100644 tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.env_vars create mode 100644 tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/uzip.README create mode 100644 tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.env_vars create mode 100644 tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.env_vars create mode 100644 tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.env_vars create mode 100644 tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.output create mode 100644 tests/src/vfs/extfs/helpers-list/data/uzoo.README create mode 100644 tests/src/vfs/extfs/helpers-list/data/uzoo.input create mode 100644 tests/src/vfs/extfs/helpers-list/data/uzoo.output create mode 100644 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c create mode 100755 tests/src/vfs/extfs/helpers-list/mc_xcat create mode 100644 tests/src/vfs/extfs/helpers-list/misc/Makefile.am create mode 100644 tests/src/vfs/extfs/helpers-list/misc/Makefile.in create mode 100644 tests/src/vfs/extfs/helpers-list/misc/rpm/rpm2tags.pl create mode 100644 tests/src/vfs/extfs/helpers-list/misc/rpm/test.spec create mode 100755 tests/src/vfs/extfs/helpers-list/test_all (limited to 'tests/src/vfs/extfs') diff --git a/tests/src/vfs/extfs/Makefile.am b/tests/src/vfs/extfs/Makefile.am new file mode 100644 index 0000000..514bfa9 --- /dev/null +++ b/tests/src/vfs/extfs/Makefile.am @@ -0,0 +1,2 @@ + +SUBDIRS = helpers-list diff --git a/tests/src/vfs/extfs/Makefile.in b/tests/src/vfs/extfs/Makefile.in new file mode 100644 index 0000000..11bc3d1 --- /dev/null +++ b/tests/src/vfs/extfs/Makefile.in @@ -0,0 +1,757 @@ +# 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@ +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 = tests/src/vfs/extfs +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.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/longlong.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/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ + $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/m4.include/gnulib/mode_t.m4 \ + $(top_srcdir)/m4.include/gnulib/stat-size.m4 \ + $(top_srcdir)/m4.include/gnulib/fstypename.m4 \ + $(top_srcdir)/m4.include/gnulib/fsusage.m4 \ + $(top_srcdir)/m4.include/gnulib/mountlist.m4 \ + $(top_srcdir)/m4.include/gnulib/windows-stat-inodes.m4 \ + $(top_srcdir)/m4.include/gnulib/sys_types_h.m4 \ + $(top_srcdir)/m4.include/ax_path_lib_pcre.m4 \ + $(top_srcdir)/m4.include/dx_doxygen.m4 \ + $(top_srcdir)/m4.include/ax_require_defined.m4 \ + $(top_srcdir)/m4.include/ax_check_compile_flag.m4 \ + $(top_srcdir)/m4.include/ax_append_flag.m4 \ + $(top_srcdir)/m4.include/ax_append_compile_flags.m4 \ + $(top_srcdir)/m4.include/mc-cflags.m4 \ + $(top_srcdir)/m4.include/ax_gcc_func_attribute.m4 \ + $(top_srcdir)/m4.include/mc-check-search-type.m4 \ + $(top_srcdir)/m4.include/mc-get-fs-info.m4 \ + $(top_srcdir)/m4.include/mc-with-x.m4 \ + $(top_srcdir)/m4.include/mc-use-termcap.m4 \ + $(top_srcdir)/m4.include/mc-with-screen.m4 \ + $(top_srcdir)/m4.include/mc-with-screen-ncurses.m4 \ + $(top_srcdir)/m4.include/mc-with-screen-slang.m4 \ + $(top_srcdir)/m4.include/mc-with-internal-edit.m4 \ + $(top_srcdir)/m4.include/mc-subshell.m4 \ + $(top_srcdir)/m4.include/mc-background.m4 \ + $(top_srcdir)/m4.include/mc-ext2fs-attr.m4 \ + $(top_srcdir)/m4.include/mc-glib.m4 \ + $(top_srcdir)/m4.include/mc-vfs.m4 \ + $(top_srcdir)/m4.include/vfs/rpc.m4 \ + $(top_srcdir)/m4.include/vfs/socket.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-extfs.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-sfs.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-ftp.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-sftp.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-fish.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-undelfs.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-tarfs.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-cpiofs.m4 \ + $(top_srcdir)/m4.include/mc-version.m4 \ + $(top_srcdir)/m4.include/mc-tests.m4 \ + $(top_srcdir)/m4.include/mc-i18n.m4 \ + $(top_srcdir)/m4.include/mc-assert.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 = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + distdir distdir-am +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +DIST_SUBDIRS = $(SUBDIRS) +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CHECK_CFLAGS = @CHECK_CFLAGS@ +CHECK_LIBS = @CHECK_LIBS@ +COM_ERR_CFLAGS = @COM_ERR_CFLAGS@ +COM_ERR_LIBS = @COM_ERR_LIBS@ +CP1251 = @CP1251@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DOC_LINGUAS = @DOC_LINGUAS@ +DOXYGEN_PAPER_SIZE = @DOXYGEN_PAPER_SIZE@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +DX_CONFIG = @DX_CONFIG@ +DX_DOCDIR = @DX_DOCDIR@ +DX_DOT = @DX_DOT@ +DX_DOXYGEN = @DX_DOXYGEN@ +DX_DVIPS = @DX_DVIPS@ +DX_EGREP = @DX_EGREP@ +DX_ENV = @DX_ENV@ +DX_FLAG_chi = @DX_FLAG_chi@ +DX_FLAG_chm = @DX_FLAG_chm@ +DX_FLAG_doc = @DX_FLAG_doc@ +DX_FLAG_dot = @DX_FLAG_dot@ +DX_FLAG_html = @DX_FLAG_html@ +DX_FLAG_man = @DX_FLAG_man@ +DX_FLAG_pdf = @DX_FLAG_pdf@ +DX_FLAG_ps = @DX_FLAG_ps@ +DX_FLAG_rtf = @DX_FLAG_rtf@ +DX_FLAG_xml = @DX_FLAG_xml@ +DX_HHC = @DX_HHC@ +DX_LATEX = @DX_LATEX@ +DX_MAKEINDEX = @DX_MAKEINDEX@ +DX_PDFLATEX = @DX_PDFLATEX@ +DX_PERL = @DX_PERL@ +DX_PROJECT = @DX_PROJECT@ +E2P_CFLAGS = @E2P_CFLAGS@ +E2P_LIBS = @E2P_LIBS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +ETAGS = @ETAGS@ +EXEEXT = @EXEEXT@ +EXT2FS_CFLAGS = @EXT2FS_CFLAGS@ +EXT2FS_LIBS = @EXT2FS_LIBS@ +EXTHELPERSDIR = @EXTHELPERSDIR@ +FGREP = @FGREP@ +FILECMD = @FILECMD@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GLIB_CFLAGS = @GLIB_CFLAGS@ +GLIB_LIBS = @GLIB_LIBS@ +GMODULE_CFLAGS = @GMODULE_CFLAGS@ +GMODULE_LIBS = @GMODULE_LIBS@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GREP = @GREP@ +HAVE_FILECMD = @HAVE_FILECMD@ +HAVE_ZIPINFO = @HAVE_ZIPINFO@ +HAVE_nroff = @HAVE_nroff@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBMC_RELEASE = @LIBMC_RELEASE@ +LIBMC_VERSION = @LIBMC_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBSSH_CFLAGS = @LIBSSH_CFLAGS@ +LIBSSH_LIBS = @LIBSSH_LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANDOC = @MANDOC@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MAN_DATE = @MAN_DATE@ +MAN_FLAGS = @MAN_FLAGS@ +MAN_VERSION = @MAN_VERSION@ +MCLIBS = @MCLIBS@ +MKDIR_P = @MKDIR_P@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +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@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PCRE_CPPFLAGS = @PCRE_CPPFLAGS@ +PCRE_LIBS = @PCRE_LIBS@ +PERL = @PERL@ +PERL_FOR_BUILD = @PERL_FOR_BUILD@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POSUB = @POSUB@ +PYTHON = @PYTHON@ +RANLIB = @RANLIB@ +RUBY = @RUBY@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SLANG_CFLAGS = @SLANG_CFLAGS@ +SLANG_LIBS = @SLANG_LIBS@ +STRIP = @STRIP@ +TESTS_LDFLAGS = @TESTS_LDFLAGS@ +UNZIP = @UNZIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +X11_WWW = @X11_WWW@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +XMKMF = @XMKMF@ +X_CFLAGS = @X_CFLAGS@ +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_LIBS = @X_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ +ZIP = @ZIP@ +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_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@ +SUBDIRS = helpers-list +all: all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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) --gnu tests/src/vfs/extfs/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu tests/src/vfs/extfs/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(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 + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +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 + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(am__recursive_targets) install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ + check-am clean clean-generic clean-libtool cscopelist-am ctags \ + ctags-am distclean distclean-generic distclean-libtool \ + distclean-tags 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 \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags tags-am uninstall uninstall-am + +.PRECIOUS: Makefile + + +# 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/tests/src/vfs/extfs/helpers-list/Makefile.am b/tests/src/vfs/extfs/helpers-list/Makefile.am new file mode 100644 index 0000000..991a11f --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/Makefile.am @@ -0,0 +1,131 @@ +PACKAGE_STRING = "/src/vfs/extfs/helpers-list" + +SUBDIRS = misc + +AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) + +# This lets mc_parse_ls_l.c override MC's message() without the linker +# complaining about multiple definitions. +AM_LDFLAGS = @TESTS_LDFLAGS@ + +LIBS = $(top_builddir)/lib/libmc.la + +if ENABLE_MCLIB +LIBS += $(GLIB_LIBS) +endif + +# Programs/scripts to build on 'make check'. +check_PROGRAMS = mc_parse_ls_l +check_SCRIPTS = run + +# Tests to run on 'make check' +TESTS = run + +# On 'make clean', delete 'run' as well. +CLEANFILES = run + +mc_parse_ls_l_SOURCES = \ + mc_parse_ls_l.c + +data_files_to_distribute = \ + data/hp48+.README \ + data/hp48+.args \ + data/hp48+.input \ + data/hp48+.output \ + data/lslR.1.spaces.args \ + data/lslR.1.spaces.input \ + data/lslR.1.spaces.output \ + data/lslR.2.spaces-iso.args \ + data/lslR.2.spaces-iso.input \ + data/lslR.2.spaces-iso.output \ + data/lslR.3.spaces-iso-noslash.args \ + data/lslR.3.spaces-iso-noslash.input \ + data/lslR.3.spaces-iso-noslash.output \ + data/lslR.README \ + data/rpm.README \ + data/rpm.custom.env_vars \ + data/rpm.custom.input \ + data/rpm.custom.output \ + data/rpm.glib.env_vars \ + data/rpm.glib.input \ + data/rpm.glib.output \ + data/rpm.rewrite.sh \ + data/u7z.README \ + data/u7z.complex.env_vars \ + data/u7z.complex.input \ + data/u7z.complex.output \ + data/u7z.missing-date.env_vars \ + data/u7z.missing-date.input \ + data/u7z.missing-date.output \ + data/u7z.missing-size-and-date.env_vars \ + data/u7z.missing-size-and-date.input \ + data/u7z.missing-size-and-date.output \ + data/u7z.simple.input \ + data/u7z.simple.output \ + data/uace.README \ + data/uace.input \ + data/uace.output \ + data/uarc.README \ + data/uarc.input \ + data/uarc.output \ + data/urar.README \ + data/urar.v4,v3.env_vars \ + data/urar.v4,v3.input \ + data/urar.v4,v3.output \ + data/urar.v6,v5.env_vars \ + data/urar.v6,v5.input \ + data/urar.v6,v5.output \ + data/uzip.README \ + data/uzip.with-zipinfo.env_vars \ + data/uzip.with-zipinfo.input \ + data/uzip.with-zipinfo.output \ + data/uzip.without-zipinfo--mdy.env_vars \ + data/uzip.without-zipinfo--mdy.input \ + data/uzip.without-zipinfo--mdy.output \ + data/uzip.without-zipinfo--ymd.env_vars \ + data/uzip.without-zipinfo--ymd.input \ + data/uzip.without-zipinfo--ymd.output \ + data/uzoo.README \ + data/uzoo.input \ + data/uzoo.output \ + data/dummy + +EXTRA_DIST = mc_xcat test_all $(data_files_to_distribute) + +run: + @echo '#!/bin/sh' > $@ + @echo >> $@ + @echo '# This script is an easy way to launch the "test_all" script' >> $@ + @echo '# with all the required arguments.' >> $@ + @echo '#' >> $@ + @echo '# Run this script with "--help" to learn more.' >> $@ + @echo >> $@ + @echo '# Where to find mc_parse_ls_l and mc_xcat, respectively.' >> $@ + @echo 'PATH="$(abs_builddir):$(abs_srcdir):$$PATH"' >> $@ + @echo >> $@ +# The 'abs_' isn't mandatory. It lets you move this script out of the build tree. + @echo '"$(abs_srcdir)"/test_all "$$@" \' >> $@ + @echo ' --data-dir "$(abs_srcdir)/data" \' >> $@ + @echo ' --data-build-dir "$(abs_builddir)/data" \' >> $@ +# Before installation, some helpers are in the build tree, some in the src tree. + @echo ' --helpers-dir "$(abs_top_builddir)/src/vfs/extfs/helpers" \' >> $@ + @echo ' --helpers-dir "$(abs_top_srcdir)/src/vfs/extfs/helpers"' >> $@ + @chmod +x $@ +# (We can alternatively create run from a run.in template +# with 'AC_CONFIG_FILES[run, chmod +x run]'.) + +# Whenever we change the recipe above, we need to regenerate the 'run' script: +run: Makefile + +# +# Documentation +# + +doc: README.html + +# (Thanks to VPATH we don't need to write "$(srcdir)/README". doc/hlp/Makefile.am needlessly does this.) +README.html: README + pandoc --include-in-header=$(srcdir)/README.css.inc -N --old-dashes --toc --toc-depth=4 --standalone -o $@ $< + +EXTRA_DIST += README.css.inc +CLEANFILES += README.html diff --git a/tests/src/vfs/extfs/helpers-list/Makefile.in b/tests/src/vfs/extfs/helpers-list/Makefile.in new file mode 100644 index 0000000..d4465a6 --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/Makefile.in @@ -0,0 +1,1334 @@ +# 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@ +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@ +@ENABLE_MCLIB_TRUE@am__append_1 = $(GLIB_LIBS) +check_PROGRAMS = mc_parse_ls_l$(EXEEXT) +subdir = tests/src/vfs/extfs/helpers-list +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.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/longlong.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/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ + $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/m4.include/gnulib/mode_t.m4 \ + $(top_srcdir)/m4.include/gnulib/stat-size.m4 \ + $(top_srcdir)/m4.include/gnulib/fstypename.m4 \ + $(top_srcdir)/m4.include/gnulib/fsusage.m4 \ + $(top_srcdir)/m4.include/gnulib/mountlist.m4 \ + $(top_srcdir)/m4.include/gnulib/windows-stat-inodes.m4 \ + $(top_srcdir)/m4.include/gnulib/sys_types_h.m4 \ + $(top_srcdir)/m4.include/ax_path_lib_pcre.m4 \ + $(top_srcdir)/m4.include/dx_doxygen.m4 \ + $(top_srcdir)/m4.include/ax_require_defined.m4 \ + $(top_srcdir)/m4.include/ax_check_compile_flag.m4 \ + $(top_srcdir)/m4.include/ax_append_flag.m4 \ + $(top_srcdir)/m4.include/ax_append_compile_flags.m4 \ + $(top_srcdir)/m4.include/mc-cflags.m4 \ + $(top_srcdir)/m4.include/ax_gcc_func_attribute.m4 \ + $(top_srcdir)/m4.include/mc-check-search-type.m4 \ + $(top_srcdir)/m4.include/mc-get-fs-info.m4 \ + $(top_srcdir)/m4.include/mc-with-x.m4 \ + $(top_srcdir)/m4.include/mc-use-termcap.m4 \ + $(top_srcdir)/m4.include/mc-with-screen.m4 \ + $(top_srcdir)/m4.include/mc-with-screen-ncurses.m4 \ + $(top_srcdir)/m4.include/mc-with-screen-slang.m4 \ + $(top_srcdir)/m4.include/mc-with-internal-edit.m4 \ + $(top_srcdir)/m4.include/mc-subshell.m4 \ + $(top_srcdir)/m4.include/mc-background.m4 \ + $(top_srcdir)/m4.include/mc-ext2fs-attr.m4 \ + $(top_srcdir)/m4.include/mc-glib.m4 \ + $(top_srcdir)/m4.include/mc-vfs.m4 \ + $(top_srcdir)/m4.include/vfs/rpc.m4 \ + $(top_srcdir)/m4.include/vfs/socket.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-extfs.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-sfs.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-ftp.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-sftp.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-fish.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-undelfs.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-tarfs.m4 \ + $(top_srcdir)/m4.include/vfs/mc-vfs-cpiofs.m4 \ + $(top_srcdir)/m4.include/mc-version.m4 \ + $(top_srcdir)/m4.include/mc-tests.m4 \ + $(top_srcdir)/m4.include/mc-i18n.m4 \ + $(top_srcdir)/m4.include/mc-assert.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_mc_parse_ls_l_OBJECTS = mc_parse_ls_l.$(OBJEXT) +mc_parse_ls_l_OBJECTS = $(am_mc_parse_ls_l_OBJECTS) +mc_parse_ls_l_LDADD = $(LDADD) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +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 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/config/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = ./$(DEPDIR)/mc_parse_ls_l.Po +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(mc_parse_ls_l_SOURCES) +DIST_SOURCES = $(mc_parse_ls_l_SOURCES) +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + check recheck distdir distdir-am +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +am__tty_colors_dummy = \ + mgn= red= grn= lgn= blu= brg= std=; \ + am__color_tests=no +am__tty_colors = { \ + $(am__tty_colors_dummy); \ + if test "X$(AM_COLOR_TESTS)" = Xno; then \ + am__color_tests=no; \ + elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ + am__color_tests=yes; \ + elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ + am__color_tests=yes; \ + fi; \ + if test $$am__color_tests = yes; then \ + red=''; \ + grn=''; \ + lgn=''; \ + blu=''; \ + mgn=''; \ + brg=''; \ + std=''; \ + fi; \ +} +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__recheck_rx = ^[ ]*:recheck:[ ]* +am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* +am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* +# A command that, given a newline-separated list of test names on the +# standard input, print the name of the tests that are to be re-run +# upon "make recheck". +am__list_recheck_tests = $(AWK) '{ \ + recheck = 1; \ + while ((rc = (getline line < ($$0 ".trs"))) != 0) \ + { \ + if (rc < 0) \ + { \ + if ((getline line2 < ($$0 ".log")) < 0) \ + recheck = 0; \ + break; \ + } \ + else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ + { \ + recheck = 0; \ + break; \ + } \ + else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ + { \ + break; \ + } \ + }; \ + if (recheck) \ + print $$0; \ + close ($$0 ".trs"); \ + close ($$0 ".log"); \ +}' +# A command that, given a newline-separated list of test names on the +# standard input, create the global log from their .trs and .log files. +am__create_global_log = $(AWK) ' \ +function fatal(msg) \ +{ \ + print "fatal: making $@: " msg | "cat >&2"; \ + exit 1; \ +} \ +function rst_section(header) \ +{ \ + print header; \ + len = length(header); \ + for (i = 1; i <= len; i = i + 1) \ + printf "="; \ + printf "\n\n"; \ +} \ +{ \ + copy_in_global_log = 1; \ + global_test_result = "RUN"; \ + while ((rc = (getline line < ($$0 ".trs"))) != 0) \ + { \ + if (rc < 0) \ + fatal("failed to read from " $$0 ".trs"); \ + if (line ~ /$(am__global_test_result_rx)/) \ + { \ + sub("$(am__global_test_result_rx)", "", line); \ + sub("[ ]*$$", "", line); \ + global_test_result = line; \ + } \ + else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ + copy_in_global_log = 0; \ + }; \ + if (copy_in_global_log) \ + { \ + rst_section(global_test_result ": " $$0); \ + while ((rc = (getline line < ($$0 ".log"))) != 0) \ + { \ + if (rc < 0) \ + fatal("failed to read from " $$0 ".log"); \ + print line; \ + }; \ + printf "\n"; \ + }; \ + close ($$0 ".trs"); \ + close ($$0 ".log"); \ +}' +# Restructured Text title. +am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } +# Solaris 10 'make', and several other traditional 'make' implementations, +# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it +# by disabling -e (using the XSI extension "set +e") if it's set. +am__sh_e_setup = case $$- in *e*) set +e;; esac +# Default flags passed to test drivers. +am__common_driver_flags = \ + --color-tests "$$am__color_tests" \ + --enable-hard-errors "$$am__enable_hard_errors" \ + --expect-failure "$$am__expect_failure" +# To be inserted before the command running the test. Creates the +# directory for the log if needed. Stores in $dir the directory +# containing $f, in $tst the test, in $log the log. Executes the +# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and +# passes TESTS_ENVIRONMENT. Set up options for the wrapper that +# will run the test scripts (or their associated LOG_COMPILER, if +# thy have one). +am__check_pre = \ +$(am__sh_e_setup); \ +$(am__vpath_adj_setup) $(am__vpath_adj) \ +$(am__tty_colors); \ +srcdir=$(srcdir); export srcdir; \ +case "$@" in \ + */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ + *) am__odir=.;; \ +esac; \ +test "x$$am__odir" = x"." || test -d "$$am__odir" \ + || $(MKDIR_P) "$$am__odir" || exit $$?; \ +if test -f "./$$f"; then dir=./; \ +elif test -f "$$f"; then dir=; \ +else dir="$(srcdir)/"; fi; \ +tst=$$dir$$f; log='$@'; \ +if test -n '$(DISABLE_HARD_ERRORS)'; then \ + am__enable_hard_errors=no; \ +else \ + am__enable_hard_errors=yes; \ +fi; \ +case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ + am__expect_failure=yes;; \ + *) \ + am__expect_failure=no;; \ +esac; \ +$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) +# A shell command to get the names of the tests scripts with any registered +# extension removed (i.e., equivalently, the names of the test logs, with +# the '.log' extension removed). The result is saved in the shell variable +# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, +# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", +# since that might cause problem with VPATH rewrites for suffix-less tests. +# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. +am__set_TESTS_bases = \ + bases='$(TEST_LOGS)'; \ + bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ + bases=`echo $$bases` +AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)' +RECHECK_LOGS = $(TEST_LOGS) +TEST_SUITE_LOG = test-suite.log +TEST_EXTENSIONS = @EXEEXT@ .test +LOG_DRIVER = $(SHELL) $(top_srcdir)/config/test-driver +LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) +am__set_b = \ + case '$@' in \ + */*) \ + case '$*' in \ + */*) b='$*';; \ + *) b=`echo '$@' | sed 's/\.log$$//'`; \ + esac;; \ + *) \ + b='$*';; \ + esac +am__test_logs1 = $(TESTS:=.log) +am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) +TEST_LOGS = $(am__test_logs2:.test.log=.log) +TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/config/test-driver +TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ + $(TEST_LOG_FLAGS) +DIST_SUBDIRS = $(SUBDIRS) +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/config/depcomp \ + $(top_srcdir)/config/test-driver README +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CHECK_CFLAGS = @CHECK_CFLAGS@ +CHECK_LIBS = @CHECK_LIBS@ +COM_ERR_CFLAGS = @COM_ERR_CFLAGS@ +COM_ERR_LIBS = @COM_ERR_LIBS@ +CP1251 = @CP1251@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DOC_LINGUAS = @DOC_LINGUAS@ +DOXYGEN_PAPER_SIZE = @DOXYGEN_PAPER_SIZE@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +DX_CONFIG = @DX_CONFIG@ +DX_DOCDIR = @DX_DOCDIR@ +DX_DOT = @DX_DOT@ +DX_DOXYGEN = @DX_DOXYGEN@ +DX_DVIPS = @DX_DVIPS@ +DX_EGREP = @DX_EGREP@ +DX_ENV = @DX_ENV@ +DX_FLAG_chi = @DX_FLAG_chi@ +DX_FLAG_chm = @DX_FLAG_chm@ +DX_FLAG_doc = @DX_FLAG_doc@ +DX_FLAG_dot = @DX_FLAG_dot@ +DX_FLAG_html = @DX_FLAG_html@ +DX_FLAG_man = @DX_FLAG_man@ +DX_FLAG_pdf = @DX_FLAG_pdf@ +DX_FLAG_ps = @DX_FLAG_ps@ +DX_FLAG_rtf = @DX_FLAG_rtf@ +DX_FLAG_xml = @DX_FLAG_xml@ +DX_HHC = @DX_HHC@ +DX_LATEX = @DX_LATEX@ +DX_MAKEINDEX = @DX_MAKEINDEX@ +DX_PDFLATEX = @DX_PDFLATEX@ +DX_PERL = @DX_PERL@ +DX_PROJECT = @DX_PROJECT@ +E2P_CFLAGS = @E2P_CFLAGS@ +E2P_LIBS = @E2P_LIBS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +ETAGS = @ETAGS@ +EXEEXT = @EXEEXT@ +EXT2FS_CFLAGS = @EXT2FS_CFLAGS@ +EXT2FS_LIBS = @EXT2FS_LIBS@ +EXTHELPERSDIR = @EXTHELPERSDIR@ +FGREP = @FGREP@ +FILECMD = @FILECMD@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GLIB_CFLAGS = @GLIB_CFLAGS@ +GLIB_LIBS = @GLIB_LIBS@ +GMODULE_CFLAGS = @GMODULE_CFLAGS@ +GMODULE_LIBS = @GMODULE_LIBS@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GREP = @GREP@ +HAVE_FILECMD = @HAVE_FILECMD@ +HAVE_ZIPINFO = @HAVE_ZIPINFO@ +HAVE_nroff = @HAVE_nroff@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBMC_RELEASE = @LIBMC_RELEASE@ +LIBMC_VERSION = @LIBMC_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBS = $(top_builddir)/lib/libmc.la $(am__append_1) +LIBSSH_CFLAGS = @LIBSSH_CFLAGS@ +LIBSSH_LIBS = @LIBSSH_LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANDOC = @MANDOC@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MAN_DATE = @MAN_DATE@ +MAN_FLAGS = @MAN_FLAGS@ +MAN_VERSION = @MAN_VERSION@ +MCLIBS = @MCLIBS@ +MKDIR_P = @MKDIR_P@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = "/src/vfs/extfs/helpers-list" +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PCRE_CPPFLAGS = @PCRE_CPPFLAGS@ +PCRE_LIBS = @PCRE_LIBS@ +PERL = @PERL@ +PERL_FOR_BUILD = @PERL_FOR_BUILD@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POSUB = @POSUB@ +PYTHON = @PYTHON@ +RANLIB = @RANLIB@ +RUBY = @RUBY@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SLANG_CFLAGS = @SLANG_CFLAGS@ +SLANG_LIBS = @SLANG_LIBS@ +STRIP = @STRIP@ +TESTS_LDFLAGS = @TESTS_LDFLAGS@ +UNZIP = @UNZIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +X11_WWW = @X11_WWW@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +XMKMF = @XMKMF@ +X_CFLAGS = @X_CFLAGS@ +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_LIBS = @X_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ +ZIP = @ZIP@ +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_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@ +SUBDIRS = misc +AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) + +# This lets mc_parse_ls_l.c override MC's message() without the linker +# complaining about multiple definitions. +AM_LDFLAGS = @TESTS_LDFLAGS@ +check_SCRIPTS = run + +# Tests to run on 'make check' +TESTS = run + +# On 'make clean', delete 'run' as well. +CLEANFILES = run README.html +mc_parse_ls_l_SOURCES = \ + mc_parse_ls_l.c + +data_files_to_distribute = \ + data/hp48+.README \ + data/hp48+.args \ + data/hp48+.input \ + data/hp48+.output \ + data/lslR.1.spaces.args \ + data/lslR.1.spaces.input \ + data/lslR.1.spaces.output \ + data/lslR.2.spaces-iso.args \ + data/lslR.2.spaces-iso.input \ + data/lslR.2.spaces-iso.output \ + data/lslR.3.spaces-iso-noslash.args \ + data/lslR.3.spaces-iso-noslash.input \ + data/lslR.3.spaces-iso-noslash.output \ + data/lslR.README \ + data/rpm.README \ + data/rpm.custom.env_vars \ + data/rpm.custom.input \ + data/rpm.custom.output \ + data/rpm.glib.env_vars \ + data/rpm.glib.input \ + data/rpm.glib.output \ + data/rpm.rewrite.sh \ + data/u7z.README \ + data/u7z.complex.env_vars \ + data/u7z.complex.input \ + data/u7z.complex.output \ + data/u7z.missing-date.env_vars \ + data/u7z.missing-date.input \ + data/u7z.missing-date.output \ + data/u7z.missing-size-and-date.env_vars \ + data/u7z.missing-size-and-date.input \ + data/u7z.missing-size-and-date.output \ + data/u7z.simple.input \ + data/u7z.simple.output \ + data/uace.README \ + data/uace.input \ + data/uace.output \ + data/uarc.README \ + data/uarc.input \ + data/uarc.output \ + data/urar.README \ + data/urar.v4,v3.env_vars \ + data/urar.v4,v3.input \ + data/urar.v4,v3.output \ + data/urar.v6,v5.env_vars \ + data/urar.v6,v5.input \ + data/urar.v6,v5.output \ + data/uzip.README \ + data/uzip.with-zipinfo.env_vars \ + data/uzip.with-zipinfo.input \ + data/uzip.with-zipinfo.output \ + data/uzip.without-zipinfo--mdy.env_vars \ + data/uzip.without-zipinfo--mdy.input \ + data/uzip.without-zipinfo--mdy.output \ + data/uzip.without-zipinfo--ymd.env_vars \ + data/uzip.without-zipinfo--ymd.input \ + data/uzip.without-zipinfo--ymd.output \ + data/uzoo.README \ + data/uzoo.input \ + data/uzoo.output \ + data/dummy + +EXTRA_DIST = mc_xcat test_all $(data_files_to_distribute) \ + README.css.inc +all: all-recursive + +.SUFFIXES: +.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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) --gnu tests/src/vfs/extfs/helpers-list/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu tests/src/vfs/extfs/helpers-list/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-checkPROGRAMS: + @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list + +mc_parse_ls_l$(EXEEXT): $(mc_parse_ls_l_OBJECTS) $(mc_parse_ls_l_DEPENDENCIES) $(EXTRA_mc_parse_ls_l_DEPENDENCIES) + @rm -f mc_parse_ls_l$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(mc_parse_ls_l_OBJECTS) $(mc_parse_ls_l_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mc_parse_ls_l.Po@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +# Recover from deleted '.trs' file; this should ensure that +# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create +# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells +# to avoid problems with "make -n". +.log.trs: + rm -f $< $@ + $(MAKE) $(AM_MAKEFLAGS) $< + +# Leading 'am--fnord' is there to ensure the list of targets does not +# expand to empty, as could happen e.g. with make check TESTS=''. +am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) +am--force-recheck: + @: + +$(TEST_SUITE_LOG): $(TEST_LOGS) + @$(am__set_TESTS_bases); \ + am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ + redo_bases=`for i in $$bases; do \ + am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ + done`; \ + if test -n "$$redo_bases"; then \ + redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ + redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ + if $(am__make_dryrun); then :; else \ + rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ + fi; \ + fi; \ + if test -n "$$am__remaking_logs"; then \ + echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ + "recursion detected" >&2; \ + elif test -n "$$redo_logs"; then \ + am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ + fi; \ + if $(am__make_dryrun); then :; else \ + st=0; \ + errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ + for i in $$redo_bases; do \ + test -f $$i.trs && test -r $$i.trs \ + || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ + test -f $$i.log && test -r $$i.log \ + || { echo "$$errmsg $$i.log" >&2; st=1; }; \ + done; \ + test $$st -eq 0 || exit 1; \ + fi + @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ + ws='[ ]'; \ + results=`for b in $$bases; do echo $$b.trs; done`; \ + test -n "$$results" || results=/dev/null; \ + all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ + pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ + fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ + skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ + xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ + xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ + error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ + if test `expr $$fail + $$xpass + $$error` -eq 0; then \ + success=true; \ + else \ + success=false; \ + fi; \ + br='==================='; br=$$br$$br$$br$$br; \ + result_count () \ + { \ + if test x"$$1" = x"--maybe-color"; then \ + maybe_colorize=yes; \ + elif test x"$$1" = x"--no-color"; then \ + maybe_colorize=no; \ + else \ + echo "$@: invalid 'result_count' usage" >&2; exit 4; \ + fi; \ + shift; \ + desc=$$1 count=$$2; \ + if test $$maybe_colorize = yes && test $$count -gt 0; then \ + color_start=$$3 color_end=$$std; \ + else \ + color_start= color_end=; \ + fi; \ + echo "$${color_start}# $$desc $$count$${color_end}"; \ + }; \ + create_testsuite_report () \ + { \ + result_count $$1 "TOTAL:" $$all "$$brg"; \ + result_count $$1 "PASS: " $$pass "$$grn"; \ + result_count $$1 "SKIP: " $$skip "$$blu"; \ + result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ + result_count $$1 "FAIL: " $$fail "$$red"; \ + result_count $$1 "XPASS:" $$xpass "$$red"; \ + result_count $$1 "ERROR:" $$error "$$mgn"; \ + }; \ + { \ + echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ + $(am__rst_title); \ + create_testsuite_report --no-color; \ + echo; \ + echo ".. contents:: :depth: 2"; \ + echo; \ + for b in $$bases; do echo $$b; done \ + | $(am__create_global_log); \ + } >$(TEST_SUITE_LOG).tmp || exit 1; \ + mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ + if $$success; then \ + col="$$grn"; \ + else \ + col="$$red"; \ + test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ + fi; \ + echo "$${col}$$br$${std}"; \ + echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \ + echo "$${col}$$br$${std}"; \ + create_testsuite_report --maybe-color; \ + echo "$$col$$br$$std"; \ + if $$success; then :; else \ + echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ + if test -n "$(PACKAGE_BUGREPORT)"; then \ + echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ + fi; \ + echo "$$col$$br$$std"; \ + fi; \ + $$success || exit 1 + +check-TESTS: $(check_PROGRAMS) $(check_SCRIPTS) + @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list + @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list + @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) + @set +e; $(am__set_TESTS_bases); \ + log_list=`for i in $$bases; do echo $$i.log; done`; \ + trs_list=`for i in $$bases; do echo $$i.trs; done`; \ + log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ + $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ + exit $$?; +recheck: all $(check_PROGRAMS) $(check_SCRIPTS) + @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) + @set +e; $(am__set_TESTS_bases); \ + bases=`for i in $$bases; do echo $$i; done \ + | $(am__list_recheck_tests)` || exit 1; \ + log_list=`for i in $$bases; do echo $$i.log; done`; \ + log_list=`echo $$log_list`; \ + $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ + am__force_recheck=am--force-recheck \ + TEST_LOGS="$$log_list"; \ + exit $$? +run.log: run + @p='run'; \ + b='run'; \ + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ + --log-file $$b.log --trs-file $$b.trs \ + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ + "$$tst" $(AM_TESTS_FD_REDIRECT) +.test.log: + @p='$<'; \ + $(am__set_b); \ + $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ + --log-file $$b.log --trs-file $$b.trs \ + $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ + "$$tst" $(AM_TESTS_FD_REDIRECT) +@am__EXEEXT_TRUE@.test$(EXEEXT).log: +@am__EXEEXT_TRUE@ @p='$<'; \ +@am__EXEEXT_TRUE@ $(am__set_b); \ +@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ +@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ +@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ +@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) +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 + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_SCRIPTS) + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: check-recursive +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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: + -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) + -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) + -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +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-recursive + +clean-am: clean-checkPROGRAMS clean-generic clean-libtool \ + mostlyclean-am + +distclean: distclean-recursive + -rm -f ./$(DEPDIR)/mc_parse_ls_l.Po + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f ./$(DEPDIR)/mc_parse_ls_l.Po + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(am__recursive_targets) check-am install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--depfiles check check-TESTS check-am clean \ + clean-checkPROGRAMS clean-generic clean-libtool cscopelist-am \ + ctags ctags-am distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags 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 installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + recheck tags tags-am uninstall uninstall-am + +.PRECIOUS: Makefile + + +run: + @echo '#!/bin/sh' > $@ + @echo >> $@ + @echo '# This script is an easy way to launch the "test_all" script' >> $@ + @echo '# with all the required arguments.' >> $@ + @echo '#' >> $@ + @echo '# Run this script with "--help" to learn more.' >> $@ + @echo >> $@ + @echo '# Where to find mc_parse_ls_l and mc_xcat, respectively.' >> $@ + @echo 'PATH="$(abs_builddir):$(abs_srcdir):$$PATH"' >> $@ + @echo >> $@ +# The 'abs_' isn't mandatory. It lets you move this script out of the build tree. + @echo '"$(abs_srcdir)"/test_all "$$@" \' >> $@ + @echo ' --data-dir "$(abs_srcdir)/data" \' >> $@ + @echo ' --data-build-dir "$(abs_builddir)/data" \' >> $@ +# Before installation, some helpers are in the build tree, some in the src tree. + @echo ' --helpers-dir "$(abs_top_builddir)/src/vfs/extfs/helpers" \' >> $@ + @echo ' --helpers-dir "$(abs_top_srcdir)/src/vfs/extfs/helpers"' >> $@ + @chmod +x $@ +# (We can alternatively create run from a run.in template +# with 'AC_CONFIG_FILES[run, chmod +x run]'.) + +# Whenever we change the recipe above, we need to regenerate the 'run' script: +run: Makefile + +# +# Documentation +# + +doc: README.html + +# (Thanks to VPATH we don't need to write "$(srcdir)/README". doc/hlp/Makefile.am needlessly does this.) +README.html: README + pandoc --include-in-header=$(srcdir)/README.css.inc -N --old-dashes --toc --toc-depth=4 --standalone -o $@ $< + +# 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/tests/src/vfs/extfs/helpers-list/README b/tests/src/vfs/extfs/helpers-list/README new file mode 100644 index 0000000..0c3bda6 --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/README @@ -0,0 +1,207 @@ +--- +title: A tester for extfs helpers +... + +Guide +===== + +Introduction +------------ + +The extfs filesystem is composed of various helpers (uzip, urar, uarc, +...). One command every helper must answer to is "list", to list the +files on its filesystem. + +The purpose of this tester is to test this "list" facet of every helper +to ensure that it indeed works, at present, and that we won't +inadvertently break it, in the future, as we modify its code or MC's +code. + +Key concept: Inputs +------------------- + +Most helpers work by parsing the output of some 3'rd party software. +Which for them becomes the *input*. Helpers sometimes support **several +variations** of such input. E.g., the uzip helper supports three +variations. + +The tester keeps a repository, in the data folder, of the various inputs +each helper proclaims to support. Each input is stored in a file with an +`.input` suffix. + +Key concept: Outputs +-------------------- + +Along with each input file, the data folder also holds the output the +helper is expected to produce given the corresponding input. Each output +is stored in a file with an `.output` suffix. + +We call this output "the expected output". + +Incidentally, an `.output` file stores not the _raw_ output of the helper +but its output _after parsing_. In other words, what's stored is the +unambiguous _meaning_ of the helper's output. This means that as long as +the helper's code isn't modified in a way that changes the meaning of its +output, the `.output` file remains up-to-date. + +How the tester works +-------------------- + +The tester feeds each helper its prepared inputs and reads back the +helper's "list" answer -- the helper's **output**. This output is a list +of files in a format similar to `ls -l`, which MC is able to parse. The +tester checks that this output parses without errors (errors are, for +example, dates in unsupported format). It then compares this parsed +output (which we call "the actual output") with a previously saved copy +of this output which is known to be correct (and which we call "the +expected output", mentioned in the previous section). This previously +stored output too is in the data folder, in files with `.output` suffix. + +If there's any discrepancy between the *actual output* and the +*expected output*, the test fails. + +Running the tester +------------------ + +You can run the tester with `make check`. + +But you'll find it more appealing to run the tester with the `run` +script. You'll get a colorful description of what's going on. + +(`run` is created by running `make check` for the 1st time, in the build +tree.) + +Reference +========= + +The data folder +--------------- + +There are several types of files in the data folder: + +### Input file ### + +An input file is named: + +> `[.optional-embedded-description].input` + +You create such files simply by redirecting the 3'rd party software's +output to a file. + +### Output file ### + +This file is named the same as the corresponding input file but with an +`.output` suffix. + +The easiest way to create these files is by invoking the `run` script +with the `--create-output` option. + +### Environment file ### + +Optional. This file defines environment variables the helper may use to +determine the variant of the input. This file is named the same as the +corresponding input file but with an `.env_var` suffix. + +### Arguments file ### + +Optional. This file defines extra command-line options to pass to the +[parser](#mc_parse_ls_l). This file is named the same as the +corresponding input file but with an `.args` suffix. + +The contents of an output file must be the same no matter on what +computer and at what time we generate it. Therefore we need to tell the +parser to drop any non-fixed elements in that file. E.g., if the dates +used are relative (as is the case for the default `ls` dates), we need to +drop them with `--drop-mtime`. Similarly, if a helper returns user and +group _names_ that are different than the running user's, they must be +dropped with `--drop-ids`. + +### Other files ### + +Any other file is ignored by the tester. + +mc_parse_ls_l +------------- + +This program (built with `make check`) is at the heart of the tester +mechanism. It parses a list of files, in a format similar to `ls -l`, +just as MC would. This program is used to parse (and thereby verify) the +output of the helpers. _You don't need to invoke it yourself;_ but, for +educational purpose, here are a few examples: + + $ LC_ALL=C ls -l | ./mc_parse_ls_l + + $ LC_ALL=C ls -l | ./mc_parse_ls_l --symbolic-ids + + $ LC_ALL=C ls -l | ./mc_parse_ls_l --output-format yaml + +test_all +-------- + +This is the tester itself. You invoke it with `make check`, or with the +`run` script. Invoking it directly is a bit involving because you need to +provide it with 2 or 3 directory paths. `run` does this work for you. + +Environment variables +--------------------- + +### Frequently used variables ### + +#### MC_TEST_EXTFS_LIST_CMD #### + +When a helper runs under the tester, the environment variable +`MC_TEST_EXTFS_LIST_CMD` holds the command that's to provide input. The +helper's source code must be modified to use this command instead of the +command it usually uses. This is the device which lets us plug our own +input into the helper and *without which a helper can't be tested!* + +Let's have a little example. The uzoo helper originally has: + + ZOO=zoo + ... + mczoofs_list () { + $ZOO lq "$ARCHIVE" | mawk '......' + } + ... + +To make this helper testable, we need to change the first line to: + + ZOO=${MC_TEST_EXTFS_LIST_CMD:-zoo} + +(or equivalent.) + +The command in `MC_TEST_EXTFS_LIST_CMD` is a black-box for the helper, +and it intentionally ignores any arguments passed to it (so that `lq +"$ARCHIVE"`, above, won't cause problems). + +### Infrequently used variables ### + +#### MC_TEST_EXTFS_INPUT #### + +Contains the path of the [input file]. You'll more commonly use +[MC_TEST_EXTFS_LIST_CMD], though. + +#### MC_TEST_EXTFS_DATA_DIR #### + +Contains the path of [the data folder]. Use it when you need to +construct the paths of other files you store there. + +#### MC_TEST_EXTFS_DATA_BUILD_DIR #### + +Contains the path of [the data folder], but in the *build* tree. This is +where *.in files from the source tree end up. If you don't know what +these are, you can safely ignore this variable. + +#### MC_TEST_EXTFS_CONFIG_SH #### + +Contains the path of *config.sh*, a file you can "source" into shell +scripts (including the [environment file]) to gain access to values set +when Midnight Commander was compiled. Example: + + . "$MC_TEST_EXTFS_CONFIG_SH" + $PERL -e 'print "hello"' + +Currently, this variable is equal to +"[$MC_TEST_EXTFS_DATA_BUILD_DIR][MC_TEST_EXTFS_DATA_BUILD_DIR]/config.sh", +but you're advised to use only `$MC_TEST_EXTFS_CONFIG_SH` as we may +change this file's location in the future. diff --git a/tests/src/vfs/extfs/helpers-list/README.css.inc b/tests/src/vfs/extfs/helpers-list/README.css.inc new file mode 100644 index 0000000..dacc4ca --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/README.css.inc @@ -0,0 +1,23 @@ + diff --git a/tests/src/vfs/extfs/helpers-list/data/config.sh.in b/tests/src/vfs/extfs/helpers-list/data/config.sh.in new file mode 100644 index 0000000..05aca06 --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/config.sh.in @@ -0,0 +1,9 @@ +# +# Configure-time parameters that may be useful in tests. +# +# See README for how to use this file. +# +PERL="@PERL@" +AWK="@AWK@" +PYTHON="@PYTHON@" +RUBY="@RUBY@" diff --git a/tests/src/vfs/extfs/helpers-list/data/dummy b/tests/src/vfs/extfs/helpers-list/data/dummy new file mode 100644 index 0000000..e9c581d --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/dummy @@ -0,0 +1,3 @@ +This is a dummy file meant to ensure this directory isn't empty so that git always creates it. + +Otherwise our 'test_all' script will fail complaining the directory doesn't exist. diff --git a/tests/src/vfs/extfs/helpers-list/data/hp48+.README b/tests/src/vfs/extfs/helpers-list/data/hp48+.README new file mode 100644 index 0000000..d87ee97 --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/hp48+.README @@ -0,0 +1,8 @@ + +The input file was taken from a comment in the helper (after removing +the "Directory" line (which is tricky to test), and adding the +not-really-necessary "EOF"). + +The '--drop-mtime' argument is needed because the helper emits the +current date, which is always changing, whereas our output files have to +be constant. diff --git a/tests/src/vfs/extfs/helpers-list/data/hp48+.args b/tests/src/vfs/extfs/helpers-list/data/hp48+.args new file mode 100644 index 0000000..990629a --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/hp48+.args @@ -0,0 +1 @@ +--drop-mtime diff --git a/tests/src/vfs/extfs/helpers-list/data/hp48+.input b/tests/src/vfs/extfs/helpers-list/data/hp48+.input new file mode 100644 index 0000000..2204139 --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/hp48+.input @@ -0,0 +1,6 @@ +{ HOME } 105617 +YEN 30.5 Program 53391 +JYTLIGHT 21848.5 String 62692 +IOPAR 37.5 List 61074 + +EOF diff --git a/tests/src/vfs/extfs/helpers-list/data/hp48+.output b/tests/src/vfs/extfs/helpers-list/data/hp48+.output new file mode 100644 index 0000000..3a24e4e --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/hp48+.output @@ -0,0 +1,3 @@ +-rw-r--r-- 1 0 0 30 /YEN +-rw-r--r-- 1 0 0 21848 /JYTLIGHT +-rw-r--r-- 1 0 0 37 /IOPAR diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.args b/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.args new file mode 100644 index 0000000..2308cee --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.args @@ -0,0 +1 @@ +--drop-ids --drop-mtime diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.input b/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.input new file mode 100644 index 0000000..908077a --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.input @@ -0,0 +1,23 @@ +.: +total 12 +drwxr-xr-x 3 serhiy serhiy 4096 Dec 29 19:12 1 2 +drwxr-xr-x 2 serhiy serhiy 4096 Dec 29 19:08 1 2 +drwxr-xr-x 2 serhiy serhiy 4096 Dec 29 19:12 1 2 + +./ 1 2: +total 4 +-rw-r--r-- 1 serhiy serhiy 0 Dec 29 19:08 b +drwxr-xr-x 2 serhiy serhiy 4096 Dec 29 19:12 z + +./ 1 2/z: +total 0 + +./1 2: +total 0 +-rw-r--r-- 1 serhiy serhiy 0 Dec 29 19:08 a + +./1 2 : +total 0 +-rw-r--r-- 1 serhiy serhiy 0 Dec 29 19:09 d +-rw-r--r-- 1 serhiy serhiy 0 Dec 29 19:08 c +-rw-r--r-- 1 serhiy serhiy 0 Dec 29 19:09 x: diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.output b/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.output new file mode 100644 index 0000000..dd6e5f1 --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.output @@ -0,0 +1,9 @@ +drwxr-xr-x 3 4096 ./ 1 2 +drwxr-xr-x 2 4096 ./1 2 +drwxr-xr-x 2 4096 ./1 2 +-rw-r--r-- 1 0 ./ 1 2/b +drwxr-xr-x 2 4096 ./ 1 2/z +-rw-r--r-- 1 0 ./1 2/a +-rw-r--r-- 1 0 ./1 2 / d +-rw-r--r-- 1 0 ./1 2 /c +-rw-r--r-- 1 0 ./1 2 /x: diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.args b/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.args new file mode 100644 index 0000000..9f52292 --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.args @@ -0,0 +1 @@ +--drop-ids diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.input b/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.input new file mode 100644 index 0000000..569586d --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.input @@ -0,0 +1,23 @@ +.: +total 12 +drwxr-xr-x 3 serhiy serhiy 4096 2009-12-29 19:12 1 2 +drwxr-xr-x 2 serhiy serhiy 4096 2009-12-29 19:08 1 2 +drwxr-xr-x 2 serhiy serhiy 4096 2009-12-29 19:12 1 2 + +./ 1 2: +total 4 +-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:08 b +drwxr-xr-x 2 serhiy serhiy 4096 2009-12-29 19:12 z + +./ 1 2/z: +total 0 + +./1 2: +total 0 +-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:08 a + +./1 2 : +total 0 +-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:08 c +-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:09 d +-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:09 x: diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.output b/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.output new file mode 100644 index 0000000..60f0bdd --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.output @@ -0,0 +1,9 @@ +drwxr-xr-x 3 4096 2009-12-29 19:12:00 ./ 1 2 +drwxr-xr-x 2 4096 2009-12-29 19:08:00 ./1 2 +drwxr-xr-x 2 4096 2009-12-29 19:12:00 ./1 2 +-rw-r--r-- 1 0 2009-12-29 19:08:00 ./ 1 2/b +drwxr-xr-x 2 4096 2009-12-29 19:12:00 ./ 1 2/z +-rw-r--r-- 1 0 2009-12-29 19:08:00 ./1 2/a +-rw-r--r-- 1 0 2009-12-29 19:08:00 ./1 2 /c +-rw-r--r-- 1 0 2009-12-29 19:09:00 ./1 2 / d +-rw-r--r-- 1 0 2009-12-29 19:09:00 ./1 2 /x: diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.args b/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.args new file mode 100644 index 0000000..9f52292 --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.args @@ -0,0 +1 @@ +--drop-ids diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.input b/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.input new file mode 100644 index 0000000..28e5c22 --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.input @@ -0,0 +1,17 @@ + 1 2: +total 4 +-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:08 b +drwxr-xr-x 2 serhiy serhiy 4096 2009-12-29 19:12 z + + 1 2/z: +total 0 + +1 2: +total 0 +-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:08 a + +1 2 : +total 0 +-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:08 c +-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:09 d +-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:09 x: diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.output b/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.output new file mode 100644 index 0000000..d32336e --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.output @@ -0,0 +1,6 @@ +-rw-r--r-- 1 0 2009-12-29 19:08:00 ./ 1 2/b +drwxr-xr-x 2 4096 2009-12-29 19:12:00 ./ 1 2/z +-rw-r--r-- 1 0 2009-12-29 19:08:00 1 2/a +-rw-r--r-- 1 0 2009-12-29 19:08:00 1 2 /c +-rw-r--r-- 1 0 2009-12-29 19:09:00 1 2 / d +-rw-r--r-- 1 0 2009-12-29 19:09:00 1 2 /x: diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.README b/tests/src/vfs/extfs/helpers-list/data/lslR.README new file mode 100644 index 0000000..6b1f73b --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/lslR.README @@ -0,0 +1,26 @@ + +The inputs were taken from: + + https://www.midnight-commander.org/ticket/1921 + +These inputs are supposed to cover: + +- "spaces": spaces in dir/file names. + +- "iso": ISO date. The ticket claims this is enabled in en_US.UTF-8 + locale, but that's untrue. Nevertheless, it's a useful format (the + default 'ls' dates are relative and therefore somewhat useless in lslR + files) so we don't mind covering it here. + +- "noshalsh": directories not starting with "./". + +Argument files: + +The output produced must be constant anytime. Therefore: + +- For the one input using non-ISO date we must use --drop-mtime. + Otherwise, because these are relative dates, next year the output + will show a different year. + +- For all inputs we use --drop-ids for the case we have user "serhiy" on + our system (and we aren't running as that user). diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.README b/tests/src/vfs/extfs/helpers-list/data/rpm.README new file mode 100644 index 0000000..78c55bc --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/rpm.README @@ -0,0 +1,24 @@ + +The *.input files for the tests are what we call "tags files". They are +generated by rpm2tags. + +The tests: + +- rpm.glib.input: + + Generated from glib2-2.46.2-4.el7.i686.rpm (downloadable from + rpmfind.net). + +- rpm.custom.input: + + Generated from our own custom package (see test.spec in this + distribution). The advantage of this custom package is that it lets us + test the helper with almost all the tags it's supposed to support. + +-- + +The way we test this helper is a bit unconventional: + +We aren't overriding one or two variables in the helper but, instead, +inject a code snippet into it (see 'rpm.rewrite.sh'). This lets us +override a couple of functions to imitate the 'rpm' binary. diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.custom.env_vars b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.env_vars new file mode 100644 index 0000000..a740c64 --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.env_vars @@ -0,0 +1,3 @@ +MC_TEST_RPM_REWRITE="$MC_TEST_EXTFS_DATA_DIR/rpm.rewrite.sh" + +MCFASTRPM= # disable "fast mode". diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.custom.input b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.input new file mode 100644 index 0000000..e8cc464 --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.input @@ -0,0 +1,261 @@ +# -*- mode: perl -*- +# vim: filetype=perl +# +# This "tags file" was created by running the following command: +# +# $ perl rpm2tags.pl ~/rpmbuild/RPMS/noarch/test-2.3-4.noarch.rpm +# +# This file is used in our tests instead of the corresponding RPM file. +# This lets us run the tests on systems where 'rpm' is not installed. + +$tags = { + 'PROVIDEVERSION' => '1:2.3-4', + 'PATCHESNAME' => '(none)', + 'REQUIREFLAGS' => '288', + 'NAME' => 'test', + 'FILEDEPENDSN' => '0', + 'POSTTRANS' => 'echo "Post-transaction script"', + 'SUGGESTNEVRS' => '(none)', + 'CONFLICTFLAGS' => '0', + 'VERIFYSCRIPT' => 'echo "Verify script"', + '_INFO' => 'Name : test +Epoch : 1 +Version : 2.3 +Release : 4 +Architecture: noarch +Install Date: (not installed) +Group : Development/System +Size : 5 +License : MIT +Signature : (none) +Source RPM : test-2.3-4.src.rpm +Build Date : Thu Jan 5 13:46:18 2017 +Build Host : mooffie-desktop +Relocations : (not relocatable) +Packager : Test Packager +Vendor : Test Vendor +URL : http://example.com +Summary : Testing +Description : +Multi-line description field +with "double", \'single quotes\', and $weird | \\characters i\\n = i\\\\t, empty line... + +...and a tab: [ ]. +', + 'DBINSTANCE' => '0', + 'FILECOLORS' => '0', + 'POSTUNFLAGS' => '(none)', + 'POLICYTYPESINDEXES' => '(none)', + 'PACKAGER' => 'Test Packager', + 'SIGSIZE' => '2408', + 'PREINPROG' => '/bin/sh', + 'CLASSDICT' => 'ASCII text', + 'FILEINODES' => '1', + 'EXCLUSIVEARCH' => '(none)', + 'ICON' => '(none)', + 'OBSOLETEFLAGS' => '0', + 'CHANGELOGNAME' => 'Jiri Tyr 1:2.3-4', + 'V' => '2.3', + 'VERIFYSCRIPTFLAGS' => '(none)', + 'SUPPLEMENTFLAGS' => '(none)', + 'FILECLASS' => 'ASCII text', + 'COOKIE' => '(none)', + 'OLDENHANCESNAME' => '(none)', + 'FILEDEPENDSX' => '0', + 'ORDERNAME' => '(none)', + 'TRIGGERSCRIPTS' => '(none)', + 'OLDFILENAMES' => '(none)', + 'PAYLOADFORMAT' => 'cpio', + 'CHANGELOGTIME' => '1483099200', + 'DIRINDEXES' => '0', + 'OLDENHANCESVERSION' => '(none)', + 'OLDENHANCES' => '(none)', + 'SIZE' => '5', + 'SUMMARY' => 'Testing', + 'POLICYFLAGS' => '(none)', + 'SOURCERPM' => 'test-2.3-4.src.rpm', + 'OBSOLETEVERSION' => '', + 'FILEUSERNAME' => 'root', + 'EPOCH' => '1', + 'ORIGDIRNAMES' => '(none)', + 'LICENSE' => 'MIT', + 'OLDSUGGESTS' => '(none)', + 'PATCHESVERSION' => '(none)', + 'FILEMD5S' => 'd8e8fca2dc0f896fd7cb4cb0031ba249', + 'POLICIES' => '(none)', + 'DSAHEADER' => '(none)', + 'LONGSIGSIZE' => '2408', + 'ENHANCENEVRS' => '(none)', + 'ENHANCEFLAGS' => '(none)', + 'PROVIDENEVRS' => 'test = 1:2.3-4', + 'OLDSUGGESTSFLAGS' => '(none)', + 'NVRA' => 'test-2.3-4.noarch', + 'TRIGGERINDEX' => '(none)', + 'HEADERI18NTABLE' => 'C', + 'PATCHESFLAGS' => '(none)', + 'BUILDARCHS' => '(none)', + 'ENHANCEVERSION' => '(none)', + 'REQUIREFLAGS:depflags' => '', + 'RECOMMENDS' => '(none)', + 'VERSION' => '2.3', + 'FILELINKTOS' => '', + 'CONFLICTNEVRS' => 'notest', + 'OBSOLETENEVRS' => 'testing', + 'E' => '1', + 'CHANGELOGTEXT' => '- Initial build.', + 'PRETRANSFLAGS' => '(none)', + 'REQUIRENAME' => '/bin/sh', + 'HEADERREGIONS' => '(none)', + 'NOPATCH' => '(none)', + 'FILEREQUIRE' => '', + 'BUILDTIME' => '1483616778', + 'FILEFLAGS' => '0', + 'OLDSUGGESTSVERSION' => '(none)', + 'PROVIDEFLAGS' => '8', + 'O' => 'testing', + 'SHA1HEADER' => '94826dbc4976a5c54a494a0591553b972edcf235', + 'ARCHIVESIZE' => '264', + 'FILENAMES' => '/var/tmp/test.txt', + 'FILERDEVS' => '0', + 'INSTALLCOLOR' => '(none)', + 'REQUIRENEVRS' => '/bin/sh', + 'FILEDIGESTS' => 'd8e8fca2dc0f896fd7cb4cb0031ba249', + 'EXCLUSIVEOS' => '(none)', + 'CHANGELOGTIME:date' => 'Fri Dec 30 14:00:00 2016', + 'PREFIXES' => '(none)', + 'POLICYNAMES' => '(none)', + 'FILEVERIFYFLAGS' => '4294967295', + 'TRIGGERNAME' => '(none)', + 'PROVIDES' => 'test', + 'RELEASE' => '4', + 'SOURCEPACKAGE' => '(none)', + 'FSCONTEXTS' => '(none)', + 'GROUP' => 'Development/System', + 'HDRID' => '94826dbc4976a5c54a494a0591553b972edcf235', + 'SOURCEPKGID' => '(none)', + 'SUGGESTVERSION' => '(none)', + 'SIGGPG' => '(none)', + 'FILELANGS' => '', + 'ORDERFLAGS' => '(none)', + 'GIF' => '(none)', + 'OBSOLETES' => 'testing', + 'REQUIREVERSION' => '', + 'PAYLOADFLAGS' => '9', + 'TRIGGERTYPE' => '(none)', + 'REMOVETID' => '(none)', + 'OBSOLETEFLAGS:depflags' => '', + 'FILEMTIMES' => '1483616778', + 'POSTUN' => 'echo "Post-uninstallation script"', + 'PROVIDEFLAGS:depflags' => '=', + 'POSTINPROG' => '/bin/sh', + 'OLDSUGGESTSNAME' => '(none)', + 'BUGURL' => '(none)', + 'INSTALLTIME' => '(none)', + 'PREINFLAGS' => '(none)', + 'LONGARCHIVESIZE' => '264', + 'ENHANCES' => '(none)', + 'VENDOR' => 'Test Vendor', + 'URL' => 'http://example.com', + 'RSAHEADER' => '(none)', + 'VCS' => '(none)', + 'POSTTRANSPROG' => '/bin/sh', + 'TRIGGERVERSION' => '(none)', + 'ORIGBASENAMES' => '(none)', + 'TRIGGERFLAGS' => '(none)', + 'RECOMMENDFLAGS' => '(none)', + 'ARCH' => 'noarch', + 'SUGGESTFLAGS' => '(none)', + 'OS' => 'linux', + 'PREUNPROG' => '/bin/sh', + 'P' => 'test', + 'SUPPLEMENTNAME' => '(none)', + 'CONFLICTFLAGS:depflags' => '', + 'DEPENDSDICT' => '(none)', + 'PREUNFLAGS' => '(none)', + 'PLATFORM' => 'noarch-debian-linux', + 'DIRNAMES' => '/var/tmp/', + 'POSTTRANSFLAGS' => '(none)', + 'NVR' => 'test-2.3-4', + 'SIGPGP' => '(none)', + 'INSTFILENAMES' => '(none)', + 'CONFLICTS' => 'notest', + 'NEVRA' => 'test-1:2.3-4.noarch', + 'RECONTEXTS' => '(none)', + 'NEVR' => 'test-1:2.3-4', + 'REQUIRES' => '/bin/sh', + 'PATCH' => '(none)', + 'SOURCE' => '(none)', + 'LONGSIZE' => '5', + 'FILECAPS' => '(none)', + 'DISTURL' => '(none)', + 'RECOMMENDVERSION' => '(none)', + 'FILEMODES' => '33188', + 'BUILDHOST' => 'mooffie-desktop', + 'PUBKEYS' => '(none)', + 'PREUN' => 'echo "Pre-uninstallation script"', + 'FILEPROVIDE' => '', + 'OPTFLAGS' => '-O2 -g -march=i386 -mtune=i686', + 'ORIGFILENAMES' => '(none)', + 'CONFLICTNAME' => 'notest', + 'TRIGGERSCRIPTFLAGS' => '(none)', + 'TRIGGERCONDS' => '(none)', + 'HEADERIMAGE' => '(none)', + 'SUPPLEMENTVERSION' => '(none)', + 'BASENAMES' => 'test.txt', + 'SUPPLEMENTS' => '(none)', + 'SUGGESTS' => '(none)', + 'PREIN' => 'echo "Pre-installation script"', + 'OLDENHANCESFLAGS' => '(none)', + 'DESCRIPTION' => 'Multi-line description field +with "double", \'single quotes\', and $weird | \\characters i\\n = i\\\\t, empty line... + +...and a tab: [ ].', + 'FILESTATES' => '(none)', + 'CONFLICTVERSION' => '', + 'PROVIDENAME' => 'test', + 'HEADERCOLOR' => '0', + 'FILECONTEXTS' => '(none)', + 'EPOCHNUM' => '1', + 'LONGFILESIZES' => '5', + 'DISTRIBUTION' => 'Test Distro', + 'SUGGESTNAME' => '(none)', + 'RPMVERSION' => '4.12.0.1', + 'POLICYTYPES' => '(none)', + 'HEADERSIGNATURES' => '(none)', + 'VERBOSE' => '(none)', + 'R' => '4', + 'PKGID' => 'e8150d00f05b3becbc59c4a31becfab6', + 'NOSOURCE' => '(none)', + 'EXCLUDEARCH' => '(none)', + 'FILEDIGESTALGO' => '(none)', + 'N' => 'test', + 'RECOMMENDNAME' => '(none)', + 'FILESIZES' => '5', + 'FILEDEVICES' => '1', + 'EXCLUDEOS' => '(none)', + 'C' => 'notest', + 'PRETRANSPROG' => '/bin/sh', + 'PRETRANS' => 'echo "Pre-transaction script"', + 'ORIGDIRINDEXES' => '(none)', + 'FILENLINKS' => '1', + 'TRIGGERSCRIPTPROG' => '(none)', + 'VERIFYSCRIPTPROG' => '/bin/sh', + 'OBSOLETENAME' => 'testing', + 'RECOMMENDNEVRS' => '(none)', + 'POSTINFLAGS' => '(none)', + 'BUILDTIME:date' => 'Thu Jan 5 13:46:18 2017', + 'SIGMD5' => 'e8150d00f05b3becbc59c4a31becfab6', + 'SUPPLEMENTNEVRS' => '(none)', + 'FILEGROUPNAME' => 'root', + 'POSTUNPROG' => '/bin/sh', + 'INSTPREFIXES' => '(none)', + 'ORDERVERSION' => '(none)', + 'XPM' => '(none)', + 'INSTALLTID' => '(none)', + 'POSTIN' => 'echo "Post-installation script"', + 'DISTTAG' => '(none)', + 'PAYLOADCOMPRESSOR' => 'gzip', + 'ENHANCENAME' => '(none)', + 'EVR' => '1:2.3-4' +} +; diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.custom.output b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.output new file mode 100644 index 0000000..c4f7b7b --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.output @@ -0,0 +1,41 @@ +-r--r--r-- 1 0 0 597 2017-01-05 00:00:00 HEADER +-r-xr-xr-x 1 0 0 0 2017-01-05 00:00:00 INSTALL +-r-xr-xr-x 1 0 0 0 2017-01-05 00:00:00 UPGRADE +dr-xr-xr-x 3 0 0 0 2017-01-05 00:00:00 INFO +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/NAME-EPOCH:VERSION-RELEASE +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/GROUP +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/BUILDHOST +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SOURCERPM +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/BUILDTIME +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/RPMVERSION +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/OS +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SIZE +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/DISTRIBUTION +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/VENDOR +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/DESCRIPTION +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SUMMARY +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/PRETRANS +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/POSTTRANS +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/PREIN +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/POSTIN +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/PREUN +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/POSTUN +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/VERIFYSCRIPT +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/ALL +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/PRETRANSPROG +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/POSTTRANSPROG +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/PREINPROG +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/POSTINPROG +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/PREUNPROG +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/POSTUNPROG +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/VERIFYSCRIPTPROG +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/PACKAGER +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/URL +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/EPOCH +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/LICENSE +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/REQUIRES +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/OBSOLETES +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/PROVIDES +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/CONFLICTS +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/CHANGELOG +-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 CONTENTS.cpio diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.glib.env_vars b/tests/src/vfs/extfs/helpers-list/data/rpm.glib.env_vars new file mode 100644 index 0000000..a740c64 --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/rpm.glib.env_vars @@ -0,0 +1,3 @@ +MC_TEST_RPM_REWRITE="$MC_TEST_EXTFS_DATA_DIR/rpm.rewrite.sh" + +MCFASTRPM= # disable "fast mode". diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.glib.input b/tests/src/vfs/extfs/helpers-list/data/rpm.glib.input new file mode 100644 index 0000000..23233d5 --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/rpm.glib.input @@ -0,0 +1,264 @@ +# -*- mode: perl -*- +# vim: filetype=perl +# +# This "tags file" was created by running the following command: +# +# $ perl rpm2tags.pl glib2-2.46.2-4.el7.i686.rpm +# +# This file is used in our tests instead of the corresponding RPM file. +# This lets us run the tests on systems where 'rpm' is not installed. + +$tags = { + 'CONFLICTFLAGS:depflags' => '(none)', + 'P' => 'glib2', + 'FILELANGS' => '', + 'VERSION' => '2.46.2', + 'CHANGELOGTEXT' => '- Backport a patch to fix a segfault in file monitor code +- Resolves: #1375753', + 'POSTIN' => '/sbin/ldconfig +gio-querymodules-32 /usr/lib/gio/modules', + 'FILECONTEXTS' => '(none)', + 'TRIGGERTYPE' => '(none)', + 'GROUP' => 'System Environment/Libraries', + 'DESCRIPTION' => 'GLib is the low-level core library that forms the basis for projects +such as GTK+ and GNOME. It provides data structure handling for C, +portability wrappers, and interfaces for such runtime functionality +as an event loop, threads, dynamic loading, and an object system.', + 'NEVR' => 'glib2-2.46.2-4.el7', + 'NOPATCH' => '(none)', + 'SOURCEPACKAGE' => '(none)', + 'VERBOSE' => '(none)', + 'REQUIRENEVRS' => '/bin/sh', + 'TRIGGERSCRIPTFLAGS' => '(none)', + 'VENDOR' => 'CentOS', + 'DSAHEADER' => '(none)', + 'PRETRANSPROG' => '(none)', + 'PROVIDES' => 'glib2', + 'EXCLUSIVEOS' => '(none)', + 'NVRA' => 'glib2-2.46.2-4.el7.i686', + 'URL' => 'http://www.gtk.org', + 'DISTRIBUTION' => '(none)', + 'OBSOLETENEVRS' => '(none)', + 'O' => '(none)', + 'SIGPGP' => '8902150305005831e31824c6a8a7f4a80eb50108452c0ff9011ff528bd335c28b6dab1b1b783cde246b3ca8df41216124a66c86bb13d864fb68fcaffaff69a7c0638c20445cef0d8712b66430ef959b823b7c48253b46e9646fc15bb07024abcd160df2c42be0a3aed81b79ebce4779eee5510148683e10ae0da26959abe5c0df821b18a64a9d0f0c87e4be02c7644999c4dc735aaf36f88e652b12fe786a2fc22e9e9ecee1156681d8ac6f5b088b9593ea5fd0c1c62e14b5b1863d019ab04ab6008ab736e9643bd45fcab373a407b669c4efd4973d36b59411146bf21f1b1caca15ea36616ee510e0a57e5ac412fbc5094637f9bdb3bdb07cf0a5a84a560aeed5b92e99ef796025fdfe25a1dd1ea58e24f7218d2b2a76286c4859feb02c6b1221055a3ba4f61dd997c9a240a7127439c5184f18432da6c9588e5166a665d10d78673067fe006411171eee32e28ff548c1500376b4851691925f0d5fa855c62312d71c8444077a397cfda03e4e026ba065fef29bf5922fc68522e4a394e1e851049b965c9d1a680df8c94c41b703667ff84db43e45a1508916d76ac45928d00fe60643366484d5215cb9e08c4737f0c9d27c3f812fecd72aef6195e07badeab549f1f57adcd860e3e3ea7006faa32d63b9dc65d46a06c0f9ce6d15541e612b76bc2d61d154c18700fe92be41e78dff5679f7cfb69fb430edf873dd8a7adf9e4214ff6d09d814314be641408c073d3a17da631463a8ea6522', + 'PREINPROG' => '(none)', + 'ENHANCENAME' => '(none)', + 'INSTALLCOLOR' => '(none)', + 'OLDENHANCESNAME' => '(none)', + 'OBSOLETES' => '(none)', + 'ARCH' => 'i686', + 'RECOMMENDVERSION' => '(none)', + 'OBSOLETEFLAGS:depflags' => '(none)', + 'POSTUNPROG' => '/bin/sh', + 'POLICYTYPES' => '(none)', + 'RECOMMENDFLAGS' => '(none)', + 'CLASSDICT' => 'ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=1171bf18928201e1c6ec8e190e64303762a1f4d9, stripped', + 'CONFLICTS' => '(none)', + 'NOSOURCE' => '(none)', + 'EXCLUDEOS' => '(none)', + 'FILEMTIMES' => '1478898094', + 'DBINSTANCE' => '0', + 'ORIGBASENAMES' => '(none)', + 'ENHANCEVERSION' => '(none)', + 'FILEFLAGS' => '0', + 'FSCONTEXTS' => '(none)', + 'PROVIDEVERSION' => '2.46.2-4.el7', + 'FILEMD5S' => 'f64bee32e178161f3340ebd97e83193f9302ef5dc22a83608e3923bf450c847d', + 'BASENAMES' => 'gapplication', + 'POLICYTYPESINDEXES' => '(none)', + 'PROVIDENEVRS' => 'glib2 = 2.46.2-4.el7', + 'OS' => 'linux', + 'POSTINPROG' => '/bin/sh', + 'OLDSUGGESTSVERSION' => '(none)', + 'INSTALLTID' => '(none)', + 'PROVIDEFLAGS:depflags' => '=', + 'PREUNFLAGS' => '(none)', + 'OLDFILENAMES' => '(none)', + 'BUILDARCHS' => '(none)', + 'ORIGDIRNAMES' => '(none)', + 'SUGGESTFLAGS' => '(none)', + 'INSTFILENAMES' => '(none)', + 'FILEUSERNAME' => 'root', + 'CONFLICTNEVRS' => '(none)', + 'PROVIDENAME' => 'glib2', + 'LICENSE' => 'LGPLv2+', + 'OLDSUGGESTS' => '(none)', + 'RECOMMENDNAME' => '(none)', + 'PATCHESVERSION' => '(none)', + 'DISTTAG' => '(none)', + 'FILEDIGESTS' => 'f64bee32e178161f3340ebd97e83193f9302ef5dc22a83608e3923bf450c847d', + 'EXCLUSIVEARCH' => '(none)', + 'V' => '2.46.2', + 'OLDENHANCESVERSION' => '(none)', + 'POSTTRANSFLAGS' => '(none)', + 'SUPPLEMENTNEVRS' => '(none)', + 'XPM' => '(none)', + 'PREUN' => '(none)', + 'ORDERFLAGS' => '(none)', + 'ORIGFILENAMES' => '(none)', + 'GIF' => '(none)', + 'ORIGDIRINDEXES' => '(none)', + 'SOURCERPM' => 'glib2-2.46.2-4.el7.src.rpm', + 'OBSOLETEFLAGS' => '(none)', + 'PRETRANSFLAGS' => '(none)', + 'POSTUNFLAGS' => '(none)', + 'ICON' => '(none)', + 'PREINFLAGS' => '(none)', + 'PREIN' => '(none)', + 'DIRINDEXES' => '0', + 'HEADERI18NTABLE' => 'C', + 'POSTTRANS' => '(none)', + 'BUILDTIME:date' => 'Fri Nov 11 23:01:44 2016', + 'ORDERVERSION' => '(none)', + 'SUPPLEMENTNAME' => '(none)', + 'CHANGELOGTIME' => '1473854400', + 'FILECAPS' => '(none)', + 'RECOMMENDS' => '(none)', + 'PAYLOADFORMAT' => 'cpio', + 'RPMVERSION' => '4.11.3', + 'SIZE' => '11147850', + 'FILEINODES' => '1', + 'SUPPLEMENTVERSION' => '(none)', + 'N' => 'glib2', + 'PROVIDEFLAGS' => '8', + 'FILECOLORS' => '1', + 'REMOVETID' => '(none)', + 'INSTPREFIXES' => '(none)', + 'PATCHESFLAGS' => '(none)', + 'HDRID' => '60af3b40a992bea6f874a1ebde5a2abecfe729ab', + 'OBSOLETEVERSION' => '(none)', + 'EXCLUDEARCH' => '(none)', + 'ENHANCEFLAGS' => '(none)', + 'REQUIRENAME' => '/bin/sh', + 'LONGSIGSIZE' => '2374912', + 'C' => '(none)', + 'TRIGGERINDEX' => '(none)', + 'SOURCE' => '(none)', + 'SUGGESTNAME' => '(none)', + 'BUILDHOST' => 'c1bm.rdu2.centos.org', + 'VERIFYSCRIPT' => '(none)', + 'HEADERIMAGE' => '(none)', + 'POSTTRANSPROG' => '(none)', + 'SUPPLEMENTS' => '(none)', + 'FILELINKTOS' => '', + 'EVR' => '2.46.2-4.el7', + 'SUPPLEMENTFLAGS' => '(none)', + 'VCS' => '(none)', + 'SIGSIZE' => '2374912', + 'NAME' => 'glib2', + 'SIGGPG' => '(none)', + 'RECOMMENDNEVRS' => '(none)', + 'NVR' => 'glib2-2.46.2-4.el7', + 'TRIGGERCONDS' => '(none)', + 'OLDENHANCES' => '(none)', + 'VERIFYSCRIPTFLAGS' => '(none)', + 'EPOCH' => '(none)', + 'PLATFORM' => 'i686-redhat-linux-gnu', + 'REQUIREFLAGS:depflags' => '', + 'CONFLICTFLAGS' => '(none)', + 'POLICYFLAGS' => '(none)', + 'SOURCEPKGID' => '(none)', + 'CHANGELOGNAME' => 'Kalev Lember - 2.46.2-4', + 'BUGURL' => '(none)', + 'POSTINFLAGS' => '(none)', + 'RECONTEXTS' => '(none)', + 'INSTALLTIME' => '(none)', + 'HEADERCOLOR' => '1', + 'PATCH' => '(none)', + 'TRIGGERFLAGS' => '(none)', + 'PAYLOADFLAGS' => '2', + 'REQUIREVERSION' => '', + 'DEPENDSDICT' => '1375731723', + 'POLICIES' => '(none)', + 'ORDERNAME' => '(none)', + '_INFO' => 'Name : glib2 +Version : 2.46.2 +Release : 4.el7 +Architecture: i686 +Install Date: (not installed) +Group : System Environment/Libraries +Size : 11147850 +License : LGPLv2+ +Signature : RSA/SHA256, Sun Nov 20 19:53:28 2016, Key ID 24c6a8a7f4a80eb5 +Source RPM : glib2-2.46.2-4.el7.src.rpm +Build Date : Fri Nov 11 23:01:44 2016 +Build Host : c1bm.rdu2.centos.org +Relocations : (not relocatable) +Packager : CentOS BuildSystem +Vendor : CentOS +URL : http://www.gtk.org +Summary : A library of handy utility functions +Description : +GLib is the low-level core library that forms the basis for projects +such as GTK+ and GNOME. It provides data structure handling for C, +portability wrappers, and interfaces for such runtime functionality +as an event loop, threads, dynamic loading, and an object system. +', + 'LONGARCHIVESIZE' => '11168196', + 'OLDSUGGESTSFLAGS' => '(none)', + 'RELEASE' => '4.el7', + 'FILENLINKS' => '1', + 'NEVRA' => 'glib2-2.46.2-4.el7.i686', + 'POSTUN' => '/sbin/ldconfig +[ ! -x /usr/bin/gio-querymodules-32 ] || \\ +gio-querymodules-32 /usr/lib/gio/modules', + 'BUILDTIME' => '1478898104', + 'LONGFILESIZES' => '14936', + 'OLDSUGGESTSNAME' => '(none)', + 'POLICYNAMES' => '(none)', + 'PREFIXES' => '(none)', + 'TRIGGERSCRIPTS' => '(none)', + 'PUBKEYS' => '(none)', + 'SHA1HEADER' => '60af3b40a992bea6f874a1ebde5a2abecfe729ab', + 'SUGGESTVERSION' => '(none)', + 'E' => '(none)', + 'COOKIE' => '(none)', + 'FILEDIGESTALGO' => '8', + 'PRETRANS' => '(none)', + 'FILEGROUPNAME' => 'root', + 'DIRNAMES' => '/usr/bin/', + 'R' => '4.el7', + 'CONFLICTVERSION' => '(none)', + 'FILEMODES' => '33261', + 'TRIGGERVERSION' => '(none)', + 'HEADERREGIONS' => '(none)', + 'SUGGESTS' => '(none)', + 'OLDENHANCESFLAGS' => '(none)', + 'TRIGGERSCRIPTPROG' => '(none)', + 'FILEVERIFYFLAGS' => '4294967295', + 'FILEDEPENDSN' => '15', + 'FILEREQUIRE' => 'libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.0) libgio-2.0.so.0 libgobject-2.0.so.0 libgmodule-2.0.so.0 libz.so.1 libselinux.so.1 libresolv.so.2 libffi.so.6 libdl.so.2 libglib-2.0.so.0 libpthread.so.0 libc.so.6 rtld(GNU_HASH)', + 'FILERDEVS' => '0', + 'PKGID' => 'd8300bd6ae89fd3d471b823d4da55e5e', + 'FILEDEVICES' => '1', + 'FILENAMES' => '/usr/bin/gapplication', + 'ENHANCES' => '(none)', + 'EPOCHNUM' => '0', + 'VERIFYSCRIPTPROG' => '(none)', + 'PREUNPROG' => '(none)', + 'CONFLICTNAME' => '(none)', + 'FILESIZES' => '14936', + 'FILEPROVIDE' => '', + 'ARCHIVESIZE' => '11168196', + 'RSAHEADER' => '8902150305005831e31824c6a8a7f4a80eb50108cdf90ffc09656e816376ef5f32f146d136999f958f3e1338f21e0cac90bac97795d92c29301478a97f8b72afee0505896fa7c31195612542ba972da405323e3ec910ecc45350459220f39f2437a9ccbc3f9052b3d042d0e4a6d687f9be827b9c766d7fc680b2d99aebafe5134a54e64f0452be09b5592360d940ed3f3f3b14de7b0b124f510cfbdbd118e1638ee280edcbf6a9f916925f1b0bda0980935aedab1f9bfc342dceae437fa14736cdff2fe330ad37ab2719f6a3de84aaf3982a575a6f4980bc8a8e10a7ba51f53ed967a6c99638565147bbb0b2427c176ffbb8be5774b45f79388ff1407e6976608c3592784b971b791f0eca73a8a2ddafa70f656e3e565c9523aa1f4e78a56acdf39a91ebd90a481c0f02186f4bca965ecf889d075a87922830ed2c701d39ce627c362b222ed153c07b532a875744e1c54e9245c1044cf93520b208384d15413aba6b3425c457781862efd215a24c0c37c32c3ab29af785adfe418d5e86af53662163a9fed16dbac3ff4704120af67e0eb584a4f8766e510e6366eb5fcce0938253962b03972eca392e61f0f979f0dd7a554273d5ca463933033d67be82c7b31bcc2ef5c477907d3734aa596aefb7988a259d48d160413590243b56850eeab96ffa76d06b86faa0b6c9fd6fe43e902669444284e1947aa652673eb58214db9d19d0447de5bd036a45e9746ab4039f4dab7c73481a1bfb5a4d', + 'FILESTATES' => '(none)', + 'PACKAGER' => 'CentOS BuildSystem ', + 'SUMMARY' => 'A library of handy utility functions', + 'OPTFLAGS' => '-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables', + 'OBSOLETENAME' => '(none)', + 'REQUIRES' => '/bin/sh', + 'FILECLASS' => 'ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=1171bf18928201e1c6ec8e190e64303762a1f4d9, stripped', + 'PAYLOADCOMPRESSOR' => 'xz', + 'HEADERSIGNATURES' => '(none)', + 'PATCHESNAME' => '(none)', + 'CHANGELOGTIME:date' => 'Wed Sep 14 15:00:00 2016', + 'ENHANCENEVRS' => '(none)', + 'SIGMD5' => 'd8300bd6ae89fd3d471b823d4da55e5e', + 'FILEDEPENDSX' => '0', + 'DISTURL' => '(none)', + 'REQUIREFLAGS' => '1280', + 'TRIGGERNAME' => '(none)', + 'LONGSIZE' => '11147850', + 'SUGGESTNEVRS' => '(none)' +} +; diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.glib.output b/tests/src/vfs/extfs/helpers-list/data/rpm.glib.output new file mode 100644 index 0000000..ab012ac --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/rpm.glib.output @@ -0,0 +1,27 @@ +-r--r--r-- 1 0 0 868 2016-11-11 00:00:00 HEADER +-r-xr-xr-x 1 0 0 0 2016-11-11 00:00:00 INSTALL +-r-xr-xr-x 1 0 0 0 2016-11-11 00:00:00 UPGRADE +dr-xr-xr-x 3 0 0 0 2016-11-11 00:00:00 INFO +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/NAME-VERSION-RELEASE +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/GROUP +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/BUILDHOST +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SOURCERPM +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/BUILDTIME +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/RPMVERSION +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/OS +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SIZE +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/VENDOR +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/DESCRIPTION +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SUMMARY +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SCRIPTS/POSTIN +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SCRIPTS/POSTUN +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SCRIPTS/ALL +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SCRIPTS/POSTINPROG +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SCRIPTS/POSTUNPROG +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/PACKAGER +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/URL +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/LICENSE +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/REQUIRES +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/PROVIDES +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/CHANGELOG +-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 CONTENTS.cpio diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.rewrite.sh b/tests/src/vfs/extfs/helpers-list/data/rpm.rewrite.sh new file mode 100644 index 0000000..08867fa --- /dev/null +++ b/tests/src/vfs/extfs/helpers-list/data/rpm.rewrite.sh @@ -0,0 +1,52 @@ +# +# This file gets source'd into our rpm helper. +# +# It imitates the 'rpm' program by overriding a few functions. +# + +# The tags file. +TAGSF="$MC_TEST_EXTFS_INPUT" + +. "$MC_TEST_EXTFS_CONFIG_SH" # Gain access to $PERL. + +# ---------------------------------------------------------------------------- + +# +# Imitates 'rpm -qp --qf