diff --git a/tests/megacmd_clear_root.sh b/tests/megacmd_clear_root.sh deleted file mode 100644 index 5bb4adde..00000000 --- a/tests/megacmd_clear_root.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -set -e - -mega-login $MEGA_EMAIL $MEGA_PWD - -LS_OUTPUT=`mega-ls "/" | xargs echo -n` -if [ "$LS_OUTPUT5" = "" ]; then - echo "Account cloud storage already empty, nothing to clear." -else - mega-rm -rf "/*" -fi diff --git a/tests/megacmd_create_dir_tree.sh b/tests/megacmd_create_dir_tree.sh index a4ee0dde..94d560b7 100755 --- a/tests/megacmd_create_dir_tree.sh +++ b/tests/megacmd_create_dir_tree.sh @@ -1,5 +1,8 @@ #!/bin/sh +# This is the directory structure expected by some of our read integration tests +# We can use this script to re-populate it if it gets deleted from our exports account for whatever reason + set -e mega-login $MEGACMD_TEST_USER $MEGACMD_TEST_PASS