summaryrefslogtreecommitdiffstats
path: root/test/pacman/ldconfig.stub
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-29 20:30:03 +0200
committerDan McGee <dan@archlinux.org>2011-09-01 21:36:44 +0200
commitc51b9ca0ad897428a008701e35f8f11fa0ad9046 (patch)
tree883fdcfe6352ebcb6c8c437e972201e4c27dbd5c /test/pacman/ldconfig.stub
parentad051f7328cb8fed19070651aac314d64de1b815 (diff)
downloadpacman-c51b9ca0ad897428a008701e35f8f11fa0ad9046.tar.gz
pacman-c51b9ca0ad897428a008701e35f8f11fa0ad9046.tar.xz
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>
Diffstat (limited to 'test/pacman/ldconfig.stub')
-rwxr-xr-xtest/pacman/ldconfig.stub4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/pacman/ldconfig.stub b/test/pacman/ldconfig.stub
new file mode 100755
index 00000000..d261a04a
--- /dev/null
+++ b/test/pacman/ldconfig.stub
@@ -0,0 +1,4 @@
+#!/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