summaryrefslogtreecommitdiff
path: root/test/basic5.test
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-02-23 22:02:11 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-02-23 22:05:02 +0200
commit64e5a64442194a73e75ef11039f7d1e18d60c15e (patch)
treeab8f11613158d54302cc04bcab99cc4af3036af4 /test/basic5.test
parent082ffbd3d6e713ba8c24b428c46af30c799aac6b (diff)
downloadapk-tools-64e5a64442194a73e75ef11039f7d1e18d60c15e.tar.gz
apk-tools-64e5a64442194a73e75ef11039f7d1e18d60c15e.tar.bz2
apk-tools-64e5a64442194a73e75ef11039f7d1e18d60c15e.tar.xz
apk-tools-64e5a64442194a73e75ef11039f7d1e18d60c15e.zip
test: rewrite the testing framework to use the real applets
also merge the expected output to the *.test files.
Diffstat (limited to 'test/basic5.test')
-rw-r--r--test/basic5.test11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/basic5.test b/test/basic5.test
index 40bf72a..854f5e7 100644
--- a/test/basic5.test
+++ b/test/basic5.test
@@ -1,2 +1,9 @@
---raw-repository basic.repo --installed basic.installed2 -a
-a
+@ARGS
+--test-repo basic.repo
+--test-instdb basic.installed2
+--test-world a
+upgrade -a
+@EXPECT
+(1/2) Replacing b (2 -> 2)
+(2/2) Replacing a (2 -> 2)
+OK: 0 MiB in 2 packages