summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/linearstore
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
commit7a31b8b5ee92000d4aaeca99f1cea8fbc56820d6 (patch)
treea0b74b2f98e07d92396f2623b7e1184790f63093 /qpid/cpp/src/tests/linearstore
parent6105357d06968d24a74c378a857776de460524d9 (diff)
downloadqpid-python-7a31b8b5ee92000d4aaeca99f1cea8fbc56820d6.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@1534736 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/linearstore')
-rwxr-xr-xqpid/cpp/src/tests/linearstore/linearstoredirsetup.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/linearstore/linearstoredirsetup.sh b/qpid/cpp/src/tests/linearstore/linearstoredirsetup.sh
new file mode 100755
index 0000000000..b4b8721edd
--- /dev/null
+++ b/qpid/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
+