From a45d2f3ce9912b74f76b9cf50aa2f923e5f1c674 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Thu, 27 Feb 2014 17:48:32 +0400 Subject: [PATCH] Test on snapshot listing with local repo. --- system/t05_snapshot/ListSnapshot1Test_gold | 1 + system/t05_snapshot/list.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/system/t05_snapshot/ListSnapshot1Test_gold b/system/t05_snapshot/ListSnapshot1Test_gold index e99e1242..bb3c00f6 100644 --- a/system/t05_snapshot/ListSnapshot1Test_gold +++ b/system/t05_snapshot/ListSnapshot1Test_gold @@ -3,5 +3,6 @@ List of snapshots: * [snap2]: Snapshot from mirror [wheezy-contrib]: http://mirror.yandex.ru/debian/ wheezy * [snap3]: Merged from sources: 'snap1', 'snap2' * [snap4]: Pulled into 'snap1' with 'snap2' as source, pull request was: 'mame unrar' + * [snap5]: Snapshot from local repo [local-repo] To get more information about snapshot, run `aptly snapshot show `. diff --git a/system/t05_snapshot/list.py b/system/t05_snapshot/list.py index 8b1fa6e1..71f754fe 100644 --- a/system/t05_snapshot/list.py +++ b/system/t05_snapshot/list.py @@ -11,6 +11,9 @@ class ListSnapshot1Test(BaseTest): "aptly snapshot create snap2 from mirror wheezy-contrib", "aptly snapshot merge snap3 snap1 snap2", "aptly snapshot pull snap1 snap2 snap4 mame unrar", + "aptly repo create local-repo", + "aptly repo add local-repo ${files}", + "aptly snapshot create snap5 from repo local-repo", ] runCmd = "aptly snapshot list"