1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 00:08:50 -05:00
pacman/test/pacman/ldconfig.stub
Dan McGee c51b9ca0ad pactest: remove PACMAN_OUTPUT from ldconfig tests
This removes the last usages of this rule that aren't explicitly looking
at real output from pacman. Notably, these tests depended on one
particular debug logger not ever being changed, which is too fragile,
not to mention doesn't work at all with --nolog.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-09-01 14:36:44 -05:00

5 lines
166 B
Bash
Executable File

#!/bin/sh
# A simple stub to copy into the chroot to fake ldconfig.
# Simply appends a line to /etc/ld.so.cache if called.
echo "ldconfig called" >> /etc/ld.so.cache