[DRE-commits] [librarian-puppet] 91/153: Fail if there are duplicated dependencies
Stig Sandbeck Mathisen
ssm at debian.org
Wed Jun 1 20:30:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
ssm pushed a commit to branch master
in repository librarian-puppet.
commit 772fec831c6a8086172260b226d46a99a1ed06f6
Author: Carlos Sanchez <carlos at apache.org>
Date: Wed Feb 25 19:53:31 2015 +0100
Fail if there are duplicated dependencies
---
features/install/git.feature | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/features/install/git.feature b/features/install/git.feature
index c47edf4..a25a4d4 100644
--- a/features/install/git.feature
+++ b/features/install/git.feature
@@ -175,16 +175,15 @@ Feature: cli/install/git
And the file "modules/munin/Modulefile" should match /name *'duritong-munin'/
And the file "modules/concat/Modulefile" should match /name *'puppetlabs-concat'/
- @announce
Scenario: Install from Puppetfile with duplicated entries
Given a file named "Puppetfile" with:
"""
- mod 'stdlib',
+ mod 'puppetlabs-stdlib',
:git => 'git://github.com/puppetlabs/puppetlabs-stdlib.git'
- mod 'stdlib',
+ mod 'puppetlabs-stdlib',
:git => 'https://github.com/puppetlabs/puppetlabs-stdlib.git'
"""
- When PENDING I run `librarian-puppet install --verbose`
- Then the exit status should be 0
- And the file "modules/stdlib/metadata.json" should match /"name": "puppetlabs-stdlib"/
+ When I run `librarian-puppet install`
+ Then the exit status should be 1
+ And the output should contain "Duplicated dependencies"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/librarian-puppet.git
More information about the Pkg-ruby-extras-commits
mailing list