From 85cb29d345e2da7c1d105801df5fc1122273467e Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Wed, 14 Sep 2011 16:28:06 -0700 Subject: [PATCH] testsnaps: LD_PRELOAD needed for librados Signed-off-by: Samuel Just --- teuthology/task/testsnaps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/testsnaps.py b/teuthology/task/testsnaps.py index 93872478a8..897b842d28 100644 --- a/teuthology/task/testsnaps.py +++ b/teuthology/task/testsnaps.py @@ -59,7 +59,7 @@ def task(ctx, config): '/bin/sh', '-c', " ".join([ 'cd', '/tmp/cephtest/data;', - 'export CEPH_CLIENT_ID={id_}; /tmp/cephtest/binary/usr/local/bin/testsnaps'.format( + 'export CEPH_CLIENT_ID={id_}; LD_PRELOAD=/tmp/cephtest/binary/usr/local/lib/librados.so.2 /tmp/cephtest/binary/usr/local/bin/testsnaps'.format( id_=id_), str(config.get('ops', '1000')), str(config.get('objects', '25')), -- 2.39.5