File: no-docker.patch

package info (click to toggle)
ruby-digest-crc 0.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 912 kB
  • sloc: ansic: 2,136; ruby: 1,269; makefile: 4
file content (47 lines) | stat: -rw-r--r-- 1,398 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Description: Remove usage of Docker in tests
Author: Simon Quigley <tsimonq2@debian.org>
Origin: vendor
Last-Update: 2026-02-17
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/spec/integration/install_spec.rb
+++ b/spec/integration/install_spec.rb
@@ -22,38 +22,10 @@ describe "installing digest-crc" do
       suffix = image.sub('test-digest-crc-','')
 
       puts ">>> Building #{image} docker image ..."
-      Dir.chdir(DOCKER_DIR) do
-        system "docker build -t #{image} --file Dockerfile.#{suffix} ."
-      end
-    end
-  end
-
-  context "when installing into a slim environment" do
-    let(:image) { 'test-digest-crc-base' }
-
-    it "should successfully install digest-crc" do
-      expect(system("docker run #{image}")).to be(true)
-    end
-  end
-
-  context "when gcc is installed" do
-    let(:image) { 'test-digest-crc-with-gcc' }
-
-    it "should successfully install digest-crc" do
-      expect(system("docker run #{image}")).to be(true)
-    end
-  end
-
-  context "when gcc and make are installed" do
-    let(:image) { 'test-digest-crc-with-gcc-and-make' }
-
-    it "should successfully install digest-crc" do
-      expect(system("docker run #{image}")).to be(true)
     end
   end
 
   after(:all) do
     puts ">>> Removing test-digest-crc docker images ..."
-    system "docker image rm -f #{IMAGES.reverse.join(' ')}"
   end
 end