summaryrefslogtreecommitdiff
path: root/tests/make-test-app.sh
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-17 10:32:29 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-17 10:32:29 +0200
commitc432c417c241abc2f6ec45f3e504a37ec913f36a (patch)
tree71ec39fa33b463cd2191d16e5813bbb03fee44e7 /tests/make-test-app.sh
parent3b291090c78896b9892b0f38afa9e00d2602c6c3 (diff)
downloadflatpak-c432c417c241abc2f6ec45f3e504a37ec913f36a.tar.gz
tests: Add test for update
Diffstat (limited to 'tests/make-test-app.sh')
-rwxr-xr-xtests/make-test-app.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/make-test-app.sh b/tests/make-test-app.sh
index e0f927e8..92d40123 100755
--- a/tests/make-test-app.sh
+++ b/tests/make-test-app.sh
@@ -4,13 +4,15 @@ set -e
DIR=`mktemp -d`
+EXTRA="${1-}"
+
# Init dir
flatpak build-init ${DIR} org.test.Hello org.test.Platform org.test.Platform
mkdir -p ${DIR}/files/bin
cat > ${DIR}/files/bin/hello.sh <<EOF
#!/bin/sh
-echo "Hello world, from a sandbox"
+echo "Hello world, from a sandbox$EXTRA"
EOF
chmod a+x ${DIR}/files/bin/hello.sh