Skip to content

Commit 7144e75

Browse files
fail hard on any error + verify that all scripts use bash -ex to fail
early on any error + anticipate that some tools can't be installed by now, but we still want the test to return success to satisfy travis-ci
1 parent 9d4b9d5 commit 7144e75

File tree

190 files changed

+216
-191
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+216
-191
lines changed

afl/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/bin/bash -ex
22

33
#
44
# AFL

afl/install-root-archlinux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -ex
22
set -eu -o pipefail
33

44
pacman -Syu --noconfirm --needed bison qemu

afl/install-root-debian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -ex
22
set -eu -o pipefail
33

44
apt-get -y build-dep qemu

android-sdk/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/bin/bash -ex
22

33
[ -e android-sdk_r24.4.1-linux.tgz ] || wget https://dl.google.com/android/android-sdk_r24.4.1-linux.tgz
44
[ -e android-sdk-linux ] || tar xfz android-sdk_r24.4.1-linux.tgz

android-sdk/install-root-archlinux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -ex
22
set -eu -o pipefail
33

44
pacman -Syu --noconfirm --needed jre7-openjdk jdk7-openjdk

android-sdk/install-root-debian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -ex
22
set -eu -o pipefail
33

44
apt-get -y install openjdk-7-jre openjdk-7-jdk

angr/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/bin/bash -ex
22

33
source ctf-tools-venv-activate
44

angr/install-root-debian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -ex
22
set -eu -o pipefail
33

44
# for angr

apktool/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/bin/bash -ex
22
mkdir bin
33
wget https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool
44
wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.2.0.jar

apktool/install-root-archlinux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -ex
22
set -eu -o pipefail
33

44
pacman -Syu --noconfirm --needed jre8-openjdk

0 commit comments

Comments
 (0)