# rpmgeneral.at: Some very basic checks # # Copyright (C) 2007 Ralf Corsépius # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA AT_BANNER([Basic tests]) # ------------------------------ AT_SETUP([rpm --version]) AT_KEYWORDS([basic]) AT_CHECK([run rpm --version],[0], [RPM version AT_PACKAGE_VERSION ]) AT_CLEANUP # ------------------------------ AT_SETUP([rpmbuild --version]) AT_KEYWORDS([basic]) AT_CHECK([run rpmbuild --version],[0], [RPM version AT_PACKAGE_VERSION ]) AT_CLEANUP # ------------------------------ AT_SETUP([rpm --version]) AT_KEYWORDS([basic]) AT_CHECK([run rpm --version],[0], [RPM version AT_PACKAGE_VERSION ]) AT_CLEANUP # ------------------------------ AT_SETUP([rpm --version]) AT_KEYWORDS([basic]) AT_CHECK([run rpm --version],[0], [RPM version AT_PACKAGE_VERSION ]) AT_CLEANUP # ------------------------------ AT_SETUP([rpm --showrc]) AT_KEYWORDS([basic]) AT_CHECK([run rpm --showrc],[0], [ignore]) AT_CLEANUP # ------------------------------ # Check rpm --querytags # * Some versions of rpm append extraneous whitespaces AT_SETUP([rpm --querytags]) AT_KEYWORDS([basic]) AT_CHECK([run rpm --querytags],[0], [ARCH ARCHIVESIZE BASENAMES BUGURL BUILDARCHS BUILDHOST BUILDTIME C CAPABILITY CHANGELOGNAME CHANGELOGTEXT CHANGELOGTIME CLASSDICT CONFLICTFLAGS CONFLICTNAME CONFLICTS CONFLICTVERSION COOKIE DBINSTANCE DEPENDSDICT DESCRIPTION DIRINDEXES DIRNAMES DISTRIBUTION DISTTAG DISTURL DSAHEADER E EPOCH EPOCHNUM EVR EXCLUDEARCH EXCLUDEOS EXCLUSIVEARCH EXCLUSIVEOS FILECAPS FILECLASS FILECOLORS FILECONTEXTS FILEDEPENDSN FILEDEPENDSX FILEDEVICES FILEDIGESTALGO FILEDIGESTS FILEFLAGS FILEGROUPNAME FILEINODES FILELANGS FILELINKTOS FILEMD5S FILEMODES FILEMTIMES FILENAMES FILEPROVIDE FILERDEVS FILEREQUIRE FILESIZES FILESTATES FILEUSERNAME FILEVERIFYFLAGS FSCONTEXTS FSNAMES FSSIZES GIF GROUP HDRID HEADERCOLOR HEADERI18NTABLE HEADERIMAGE HEADERIMMUTABLE HEADERREGIONS HEADERSIGNATURES ICON INSTALLCOLOR INSTALLTID INSTALLTIME INSTPREFIXES LICENSE LONGARCHIVESIZE LONGFILESIZES LONGSIGSIZE LONGSIZE N NAME NEVR NEVRA NVR NVRA O OBSOLETEFLAGS OBSOLETENAME OBSOLETES OBSOLETEVERSION OLDFILENAMES OPTFLAGS ORIGBASENAMES ORIGDIRINDEXES ORIGDIRNAMES ORIGFILENAMES OS P PACKAGER PATCH PATCHESFLAGS PATCHESNAME PATCHESVERSION PAYLOADCOMPRESSOR PAYLOADFLAGS PAYLOADFORMAT PKGID PLATFORM POLICIES POSTIN POSTINPROG POSTTRANS POSTTRANSPROG POSTUN POSTUNPROG PREFIXES PREIN PREINPROG PRETRANS PRETRANSPROG PREUN PREUNPROG PROVIDEFLAGS PROVIDENAME PROVIDES PROVIDEVERSION PUBKEYS R RECONTEXTS RELEASE REMOVETID REQUIREFLAGS REQUIRENAME REQUIRES REQUIREVERSION RHNPLATFORM RPMVERSION RSAHEADER SHA1HEADER SIGGPG SIGMD5 SIGPGP SIGSIZE SIZE SOURCE SOURCEPACKAGE SOURCEPKGID SOURCERPM SUMMARY TRIGGERCONDS TRIGGERFLAGS TRIGGERINDEX TRIGGERNAME TRIGGERSCRIPTPROG TRIGGERSCRIPTS TRIGGERTYPE TRIGGERVERSION URL V VENDOR VERBOSE VERIFYSCRIPT VERIFYSCRIPTPROG VERSION XPM ]) AT_CLEANUP