mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 02:57:57 +00:00
Bridge zombienet tests - move all test scripts to the same folder (#3333)
Related to https://github.com/paritytech/polkadot-sdk/issues/3242
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
INVOKE_LOG=`mktemp -p $TEST_FOLDER invoke.XXXXX`
|
||||
|
||||
pushd $POLKADOT_SDK_PATH/bridges/testing/environments/rococo-westend
|
||||
./bridges_rococo_westend.sh $1 >$INVOKE_LOG 2>&1
|
||||
popd
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
RELAY_LOG=`mktemp -p $TEST_FOLDER relay.XXXXX`
|
||||
|
||||
pushd $POLKADOT_SDK_PATH/bridges/testing/environments/rococo-westend
|
||||
./bridges_rococo_westend.sh run-relay >$RELAY_LOG 2>&1&
|
||||
popd
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# every network adds a char to the file, let's remove ours
|
||||
truncate -s -1 $TEST_FOLDER/exit-sync
|
||||
|
||||
# when all chars are removed, then our test is done
|
||||
while true
|
||||
do
|
||||
if [ `stat --printf="%s" $TEST_FOLDER/exit-sync` -eq 0 ]; then
|
||||
exit
|
||||
fi
|
||||
sleep 100
|
||||
done
|
||||
Reference in New Issue
Block a user