summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite tests in automakeVincent Danjean2012-07-101-37/+45
| | | | | | | | | - add options in AM_INIT_AUTOMAKE to be more strict and to enable more advanced features (color-tests and parallel-tests) - rewrite tests/Makefile.am to use automake rules for building program and libraries => we can now do: ./bootstrap.sh && mkdir build && cd build && ../configure && make -j distcheck
* Allow parallel execution of testsVincent Danjean2012-07-107-65/+72
| | | | Each test use its own subdirectory in scratch/
* fix build *and check* out of treeVincent Danjean2012-07-102-5/+5
| | | | | | | - use Makefile variables $< (and $@) so that sources are found correctly - use ${srcdir} in test scripts to find the sources This allows "make distcheck" to successfully pass
* * Test whether the patched no-rpath executable works on i686-linux.Eelco Dolstra2010-08-261-5/+3
|
* * On FreeBSD, running a program by calling the ELF interpreterEelco Dolstra2009-11-041-4/+8
| | | | | | | directly (e.g. “/libexec/ld-elf.so.1 /bin/ls”) hangs, and on OpenBSD the interpreter is not executable. Let’s assume that it only works on Linux.
* * Regression test for NIXPKGS-98: patchelf barfs on dynamic librariesEelco Dolstra2009-06-161-0/+4
| | | | | that contain an .interp section.
* * Regression test: Doing "/lib/ld-linux-x86-64.so.2 <program>" shouldEelco Dolstra2009-01-301-0/+6
| | | | | work on a patched executable (it doesn't right now on x86_64).
* (no commit message)Eelco Dolstra2008-05-281-0/+5
|
* * Fix a broken test.Eelco Dolstra2008-05-281-5/+1
|
* * Fix make dist.Eelco Dolstra2008-05-281-0/+1
|
* * A test for setting the rpath on a library.Eelco Dolstra2008-05-283-15/+74
|
* * Support DT_RUNPATH (in fact, prefer DT_RUNPATH over DT_RPATH unlessEelco Dolstra2008-05-272-2/+2
| | | | | --force-rpath is set).
* * Fix the tests on FreeBSD. On FreeBSD, the RPATH is scoped: adding aEelco Dolstra2008-05-093-1/+10
| | | | | | | | directory to the RPATH of an executable doesn't cause it to be used for resolving dependencies of libraries, only the dependencies of the executable itself. So don't rely on that. A better fix would be to support --set-rpath on libraries, but that's a lot harder.
* * .rel.plt is called .rela.plt on x86_64-linux.Eelco Dolstra2007-01-312-2/+10
|
* * Instantiate the right template depending on whether the file is 32Eelco Dolstra2007-01-312-1/+5
| | | | | | or 64 bits. (This is done at runtime, so patchelf can patch 32 *and* 64-bit executables on both 32 and 64-bit platforms).
* * `--interpreter' -> `--set-interpreter'.Eelco Dolstra2005-10-113-3/+3
|
* * A `--debug' flag.Eelco Dolstra2005-10-041-0/+2
|
* * Add a test for programs that crash when .dynstr etc. are moved.Eelco Dolstra2005-10-033-7/+40
|
* * Handle the case where no RPATH is present, so the .dynamic table hasEelco Dolstra2005-10-013-2/+23
| | | | | to be increased.
* * Handle `--set-rpath' for the growing case.Eelco Dolstra2005-09-303-10/+19
|
* * `patchelf --set-rpath': short case.Eelco Dolstra2005-09-302-8/+7
|
* * Revert.Eelco Dolstra2005-09-301-1/+1
|
* * Refactoring continued: `--set-interpreter' works again.Eelco Dolstra2005-09-301-1/+1
|
* * Doh!Eelco Dolstra2005-09-301-1/+1
|
* * Also try a interpreter with a long name.Eelco Dolstra2005-09-303-6/+26
|
* * Set a interpreter with a short name.Eelco Dolstra2005-09-302-3/+3
|
* * C++-ify.Eelco Dolstra2005-09-301-1/+1
|
* * Don't use an impure test path.Eelco Dolstra2005-09-291-1/+1
|
* * Debug.Eelco Dolstra2005-09-291-1/+1
|
* * Add an operation `--print-rpath' to print the RPATH of the libraryEelco Dolstra2005-09-291-7/+7
| | | | | or executable and exit.
* * Put in a highly Nix-specific hack to make the tests work.Eelco Dolstra2005-09-291-1/+1
|
* * Add a failing test for `--set-rpath'. Test-driven development!Eelco Dolstra2005-09-292-1/+23
|
* * Added some real tests.Eelco Dolstra2005-09-294-3/+58
|
* * Add dist files.Eelco Dolstra2005-09-291-0/+3
|
* * Add tests.Eelco Dolstra2005-09-296-0/+65