mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 08:35:22 +00:00
19 lines
474 B
Bash
Executable File
19 lines
474 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Creates a mixed-version directory structure for running riak_test
|
|
# using rtdev-mixed.config settings. Should be run inside a directory
|
|
# that contains devrels for prior Riak releases. Easy way to create this
|
|
# is to use the rtdev-build-releases.sh script
|
|
|
|
rm -rf /tmp/rt
|
|
mkdir /tmp/rt
|
|
for rel in */dev; do
|
|
vsn=$(dirname "$rel")
|
|
mkdir "/tmp/rt/$vsn"
|
|
cp -a "$rel" "/tmp/rt/$vsn"
|
|
done
|
|
cd /tmp/rt
|
|
git init
|
|
git add .
|
|
git commit -a -m "riak_test init"
|