[DRE-commits] [berkshelf] 01/03: Use better temporary path in tests
Hleb Valoshka
tsfgnu-guest at moszumanska.debian.org
Tue Oct 18 20:56:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
tsfgnu-guest pushed a commit to branch master
in repository berkshelf.
commit 34d9981a71c44dfe0fc7aaf28f41e72b0e652e4e
Author: Hleb Valoshka <375gnu at gmail.com>
Date: Tue Oct 18 23:24:58 2016 +0300
Use better temporary path in tests
---
.../0009-Use-better-temporary-path-in-tests.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 23 insertions(+)
diff --git a/debian/patches/0009-Use-better-temporary-path-in-tests.patch b/debian/patches/0009-Use-better-temporary-path-in-tests.patch
new file mode 100644
index 0000000..60b2f15
--- /dev/null
+++ b/debian/patches/0009-Use-better-temporary-path-in-tests.patch
@@ -0,0 +1,22 @@
+From: Hleb Valoshka <375gnu at gmail.com>
+Date: Tue, 18 Oct 2016 23:24:12 +0300
+Subject: Use better temporary path in tests
+
+This should fix 'gem2deb-test-runner --autopkgtest' run
+---
+ spec/support/path_helpers.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/spec/support/path_helpers.rb b/spec/support/path_helpers.rb
+index 3d21e22..a07d20b 100644
+--- a/spec/support/path_helpers.rb
++++ b/spec/support/path_helpers.rb
+@@ -19,7 +19,7 @@ module Berkshelf
+ #
+ # @return [Pathname]
+ def tmp_path
+- Berkshelf.root.join('spec/tmp')
++ Pathname.new('/tmp/cb56ad8c_9567_11e6_8b1a_001a4d834cbf')
+ end
+
+ # The path to the spec fixtures
diff --git a/debian/patches/series b/debian/patches/series
index dea43fe..085d906 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
0006-Shut-up-messages-about-deprecated-features.patch
0007-Loose-ruby-ridley-ruby-solve-version-in-gemfile.patch
0008-Ignore-test-failing-in-sbuild.patch
+0009-Use-better-temporary-path-in-tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/berkshelf.git
More information about the Pkg-ruby-extras-commits
mailing list