From aec93ee730f7a2e0196ae05fdd45e866d2510e41 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Thu, 30 May 2013 08:46:30 +0300 Subject: db: unify handling of special packages make cache a special kind of repository, and automatically cache special packages (virtual packages, or ones installed from command line). add test cases for handling virtual packages. fixes #1617. --- test/basic8.test | 6 ++++++ test/basic9.test | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 test/basic8.test create mode 100644 test/basic9.test (limited to 'test') diff --git a/test/basic8.test b/test/basic8.test new file mode 100644 index 0000000..4d5ebb2 --- /dev/null +++ b/test/basic8.test @@ -0,0 +1,6 @@ +@ARGS +--no-network +add -t .virtual +@EXPECT +(1/1) Installing .virtual (0) +OK: 0 MiB in 0 packages diff --git a/test/basic9.test b/test/basic9.test new file mode 100644 index 0000000..34bcb63 --- /dev/null +++ b/test/basic9.test @@ -0,0 +1,8 @@ +@ARGS +--no-network +--test-instdb basic.installed +--test-world a +add -t .virtual a +@EXPECT +(1/1) Installing .virtual (0) +OK: 0 MiB in 2 packages -- cgit v1.2.3-70-g09d2