summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2012-08-24Oops, replacetest spec missing from dist tarballsPanu Matilainen1-0/+1
- Should've been in commit 0bbcbb050d3a1d93eafa5ee353d4b89a9946b68f
2012-08-24Add pile of new test-cases for file type changes in upgradesPanu Matilainen1-0/+1
- Of particular interest is directory changing to something else (including the infamous symlink case), which we miserably fail currently. Until we can somehow manage them someday, we should abort early (by conflicts) instead of barfing up garbage in middle of transaction.
2012-08-21Add a third set of config tests for file type changes testingPanu Matilainen1-0/+1
- Several (expected) breakages here too, some backups missing, and some redundant backups taken - This is by no means complete set of the possible changes but gotta start someplace...
2012-08-21Add similar set of %config tests on symlinksPanu Matilainen1-0/+1
- Several cases are (expectedly) broken here: sometimes backup not taken when wanted, sometimes redundant backups taken
2012-05-30Add a test-case for various %files manifest globbing scenariosPanu Matilainen1-0/+1
- In particular (aside from basics working) we're interested in the broken symlink behavior: at least glibc and Solaris have a weird glob() which doesn't return broken symlinks at all, yet we need to be able to package them (and that's why rpm carries its own copy of a differently broken, old glibc glob) - Also test for directory-only match (RhBug:505995 cases)
2012-04-16Add test-cases for identical basenames within packagePanu Matilainen1-0/+1
- One test for the normal situation where identical basenames are not a problem, and another one where this causes a self-conflict because of a directory symlink.
2012-04-05Oops, automake isn't happy with comment here...Panu Matilainen1-1/+0
2012-04-05Arrange unified /bin <-> $(bindir) in test-suite rootPanu Matilainen1-0/+3
- Rpm traditionally insists on putting itself into /bin and expects to find various things, especially /bin/sh there as well. This is normally the case, but on systems where the host /bin is symlink to eg /usr/bin, the test-suite /bin will be empty except for rpm itself causing a big number of bogus test-suite failures. Making test-suite root bin/ always a symlink to $(bindir) avoids this issue and works whether the host /bin is a real directory or not.
2012-04-05Fix test-suite root population wrt "optional" directoriesPanu Matilainen1-1/+1
- /proc, /sys and especially selinux directories are mostly Linux creatures and even those vary between versions. Use if to avoid the error code "leaking" in case the last directory is not present.
2012-03-21Add test case for scriptlet behaviorPanu Matilainen1-0/+3
- The test-root has a shell but rpm doesn't know about it, add a fakeshell metapackage that provides it. Should come in handy for other cases as well, up to now we've been limited to lua scripts only. - Test that all the "normal" scripts get executed, in expected order and with expected arguments, on install, upgrade and erase. - This would've saved the rather embarrassing breakage with commit 274dbf557d1cac90f7c278f9b6d6af05997d92df at least, but better late than never as they say... It also serves to highlight and document the arguably broken arguments to %pre- and %posttrans scripts (ie always 0)
2012-02-08Add a rough-cut testcase for hardlink handlingPanu Matilainen1-0/+1
- Check that we get expected number of links in package generation, that all the files got installed and that the linked files are actually hardlinks (for our purposes, plain inode suffices)
2012-01-13Add bunch of links to test-suite chroot to allow selinux to workPanu Matilainen1-0/+1
- With the new warning on failure to open selinux labels from commit 7a8b75d26605cf7a3fde9f624a80d6fb8390fcbd, the test-suite fails on large number of tests due to the extra output. This takes care of these false alarms on F16 at least. - Recent selinux wants /etc/selinux and /sys (for /sys/fs/selinux), older ones would want /selinux. Add in /proc for good measure, selinux doesn't need it butit wont hurt either, other things will want it sooner or later.
2011-11-16Do not attempt running the test suite without fakechroot (ticket #851).Ales Kozumplik1-0/+6
Partially resolves ticket #851.
2011-06-28Add a test-case for various %attr and %defattr combinationsPanu Matilainen1-0/+1
- Currently this fails expectedly due to RhBug:681540 on the last directory of the test rpm.
2011-05-26Add test-cases for three RhBug:705115 scenariosPanu Matilainen1-0/+1
2011-05-26Add two basic multilib conflict resolution testsPanu Matilainen1-0/+2
- Add colored binary packages (as there's no guarantee we can build them from test-suite), test that colored conflicts get resolved to preferred color.
2011-04-04Add more stuff to test-suite root environmentPanu Matilainen1-2/+3
- Build needs a whole bunch of utilities there, including file + its magic database. The exact location of the magic db varies between systems but file -C lets us basically make a copy of the system magicdb into the fakechroot env and then we can override the location with MAGIC
2011-04-04Prepare the test root entirely from Makefile, add missing bitsPanu Matilainen1-1/+4
- Running builds in fakechroot needs a whole lot of things.. add symlinks to various system config + dev files to give some trivial packages a chance to build under fakechroot
2011-04-01Make a bunch of tools available in the testsuite root environmentPanu Matilainen1-0/+1
- We'll need shell and various other bits in order to do many things wrt specs and builds in the root...
2011-04-01Make all test data available in the test-rootPanu Matilainen1-0/+1
2010-12-16Add a pile of dependency matching tests for "obvious" casesPanu Matilainen1-0/+1
2010-12-09Add beginnings of python bindings test-suitePanu Matilainen1-0/+1
- Add some basic infrastructure: point PYTHONPATH to the testing directory, helper macros to allow use of in-line python in test-suite - Throw in a couple of simple tests for starters
2010-09-07Add bunch of verification tests to the test suitePanu Matilainen1-0/+2
- Basic tests for dependency, file and verifyscript error + success behavior. - Using lua for verifyscript to avoid issues with empty test-root
2010-08-18Add %patch usage to hello.spec testcasePanu Matilainen1-0/+1
2010-03-18Add some basic dependency check tests to test-suitePanu Matilainen1-0/+2
2009-03-09Add test for _install_lang and statusPanu Matilainen1-0/+1
2009-02-26Missing test material to tarballs, oopsPanu Matilainen1-0/+1
2008-11-24Add couple of tests for symlink <-> directory behaviorPanu Matilainen1-0/+1
2008-11-22Remove RPMCONFIGDIR sedding from Makefiles where no longer necessaryPanu Matilainen1-40/+0
2008-11-22Add some (trivial) macro evaluation testsPanu Matilainen1-0/+1
2008-11-22Add some basic tests for config file behaviorPanu Matilainen1-0/+2
2008-11-21Add some basic tests for file conflict behaviorPanu Matilainen1-1/+3
2008-11-21Add basic version comparison testing for install/upgradePanu Matilainen1-0/+2
2008-06-25Adjust autotests for rpmi etc removalPanu Matilainen1-6/+6
2007-09-12For the moment, allow the testsuite to fail.Ralf Corsépius1-1/+1
2007-09-12Attempt to escape hg messed up the repo once more.Ralf Corsépius1-1/+1
2007-09-06Fix typo in yesterday's patch.Ralf Corsépius1-1/+1
2007-09-05Include rpm.am.Ralf Corsépius1-16/+18
Reflect having introduced rpmconfigdir/rpmlibexecdir.
2007-08-30Attempt to make tests/Makefile.am more stabile.Ralf Corsépius1-7/+18
2007-08-30Add package.m4 to EXTRA_DIST.Ralf Corsépius1-0/+1
2007-08-30Add data/*/foo*Ralf Corsépius1-0/+3
2007-08-28Rework rpmrc generation.Ralf Corsépius1-7/+7
2007-08-23Remove SYSCONFIGDIR, ~./rpmmacros from macros.in processing.Ralf Corsépius1-2/+0
2007-08-23Create a customized rpmpopt-$(VERSION).Ralf Corsépius1-1/+11
2007-08-22Use RPMCONFIGDIR for determining rpmrc path, usrlibdir is wrong on multilib.Panu Matilainen1-0/+1
2007-08-21Remove defs/defs.in.Ralf Corsépius1-10/+12
Cosmetics.
2007-08-21Add local.atRalf Corsépius1-3/+4
2007-08-21Add rpmi.at.Ralf Corsépius1-1/+5
2007-08-20Add rpmbuild.at.Ralf Corsépius1-1/+1
2007-08-20Cosmetics.Ralf Corsépius1-3/+3