summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2013-10-22 19:09:56 +0000
committerKim van der Riet <kpvdr@apache.org>2013-10-22 19:09:56 +0000
commit10450e2bc10d56fe3696bc5284e0ec77c63647ee (patch)
treecd676b8ad920aca643a149cde3397688c4bd1964 /cpp/src/tests
parentf7cbe401aa405da618e39e9e77aa95d9375d23eb (diff)
downloadqpid-python-10450e2bc10d56fe3696bc5284e0ec77c63647ee.tar.gz
QPID-4984: WIP: Copy of work over from branch to trunk. Non-tx works with some known bugs, tx not yet operational.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1534736 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-xcpp/src/tests/linearstore/linearstoredirsetup.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/cpp/src/tests/linearstore/linearstoredirsetup.sh b/cpp/src/tests/linearstore/linearstoredirsetup.sh
new file mode 100755
index 0000000000..b4b8721edd
--- /dev/null
+++ b/cpp/src/tests/linearstore/linearstoredirsetup.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+STORE_DIR=/tmp
+LINEARSTOREDIR=~/RedHat/linearstore
+
+rm -rf $STORE_DIR/qls
+rm -rf $STORE_DIR/p002
+rm $STORE_DIR/p004
+
+mkdir $STORE_DIR/qls
+mkdir $STORE_DIR/p002
+touch $STORE_DIR/p004
+mkdir $STORE_DIR/qls/p001
+touch $STORE_DIR/qls/p003
+ln -s $STORE_DIR/p002 $STORE_DIR/qls/p002
+ln -s $STORE_DIR/p004 $STORE_DIR/qls/p004
+
+${LINEARSTOREDIR}/tools/src/py/linearstore/efptool.py $STORE_DIR/qls/ -a -p 1 -s 2048 -n 25
+${LINEARSTOREDIR}/tools/src/py/linearstore/efptool.py $STORE_DIR/qls/ -a -p 1 -s 512 -n 25
+${LINEARSTOREDIR}/tools/src/py/linearstore/efptool.py $STORE_DIR/qls/ -a -p 2 -s 2048 -n 25
+
+${LINEARSTOREDIR}/tools/src/py/linearstore/efptool.py $STORE_DIR/qls/ -l
+tree -la $STORE_DIR/qls
+