summaryrefslogtreecommitdiff
path: root/test/utils.bash
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-11-12 13:39:41 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-11-12 13:39:41 +0100
commit5dd16e14dd41f1565687142ba7cefa7c4cf64658 (patch)
treed571b793928cdf89feb6d040b359c3db2a00c766 /test/utils.bash
parent0d92ff5fd34d79b54c30c38ac41bc600acf7b7c4 (diff)
downloadappstore-master.tar.gz
appstore-master.tar.bz2
appstore-master.tar.xz
appstore-master.zip
Diffstat (limited to 'test/utils.bash')
-rw-r--r--test/utils.bash13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/utils.bash b/test/utils.bash
index 4c7e2c8..8b23210 100644
--- a/test/utils.bash
+++ b/test/utils.bash
@@ -87,6 +87,19 @@ app_libexec() {
check_status=yes
}
+appstore() {
+ echo appstore $@
+ run $APPSTORE_HOME/appstore $@
+ echo_lines
+
+ if [ "$check_status" = yes ]
+ then
+ eq '$status' 0
+ fi
+
+ check_status=yes
+}
+
fix_path_uname=`uname -s`
fix_path() {
case $fix_path_uname in