summaryrefslogtreecommitdiffstats
path: root/test/pacman/ldconfig.stub
diff options
context:
space:
mode:
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