We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a385492 commit d88ae88Copy full SHA for d88ae88
test_e2e.sh
@@ -1675,6 +1675,19 @@ fi
1675
make container REGISTRY=e2e VERSION=$(make -s version)
1676
make test-tools REGISTRY=e2e
1677
1678
+function finish() {
1679
+ r=$?
1680
+ trap "" INT EXIT
1681
+ if [[ $r != 0 ]]; then
1682
+ echo
1683
+ echo "the directory $DIR was not removed as it contains"\
1684
+ "log files useful for debugging"
1685
+ fi
1686
+ remove_containers
1687
+ exit $r
1688
+}
1689
+trap finish INT EXIT
1690
+
1691
echo
1692
echo "test root is $DIR"
1693
0 commit comments