Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Change test script

Tomas Valenta634ff5b88629
diff --git a/tests/build.sh b/tests/build.sh
index a66b89962..78be3d2d7 100755
--- a/tests/build.sh
+++ b/tests/build.sh
@@ -10,20 +10,13 @@ e2b template build --name "${NAME}"
printf $CHECK_MARK
echo "Listing templates"
-e2b template list | grep "${NAME}" >/dev/null
+e2b template list | grep "${NAME}"
printf $CHECK_MARK
echo "Listing running sandboxes"
-e2b sandbox list | grep "${NAME}" >/dev/null
+e2b sandbox list | grep "${NAME}"
printf $CHECK_MARK
echo "Deleting the template: ${NAME}"
-e2b template delete -y >/dev/null
-printf $CHECK_MARK
-
-echo "Checking if the template was deleted"
-if [[ $(e2b template list) =~ ${NAME} ]]; then
- echo "The template '${NAME}' wasn't deleted."
- exit 1
-fi
+e2b template delete -y
printf $CHECK_MARK