Skip to content

Commit cd4c6d4

Browse files
committed
s3-backer: update build and test
Signed-off-by: Patrick Linnane <[email protected]>
1 parent f957095 commit cd4c6d4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Formula/s/s3-backer.rb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,18 @@ class S3Backer < Formula
1717
depends_on "libfuse@2"
1818
depends_on :linux # on macOS, requires closed-source macFUSE
1919
depends_on "openssl@3"
20+
depends_on "zlib"
21+
depends_on "zstd"
2022

2123
def install
22-
system "./configure", "--disable-silent-rules", *std_configure_args
24+
system "./configure", "--disable-silent-rules",
25+
*std_configure_args.reject { |s| s["--disable-debug"] }
2326
system "make", "install"
2427
end
2528

2629
test do
27-
system bin/"s3backer", "--version"
30+
assert_match version.to_s, shell_output("#{bin}/s3backer --version 2>&1")
31+
32+
assert_match "no S3 bucket specified", shell_output("#{bin}/s3backer 2>&1", 1)
2833
end
2934
end

0 commit comments

Comments
 (0)