Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s*: Stop interpolating bin #179330

Merged
merged 91 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
19dcb38
s3fs: Stop interpolating `bin`
issyl0 Aug 1, 2024
91fe772
sambamba: Stop interpolating `bin`
issyl0 Aug 1, 2024
c1f1e48
sampler: Stop interpolating `bin`
issyl0 Aug 1, 2024
3ada677
scarb: Stop interpolating `bin`
issyl0 Aug 1, 2024
f12c545
sccache: Stop interpolating `bin`
issyl0 Aug 1, 2024
447255b
scour: Stop interpolating `bin`
issyl0 Aug 1, 2024
78dce21
scrapy: Stop interpolating `bin`
issyl0 Aug 1, 2024
671f2cc
screenfetch: Stop interpolating `bin`
issyl0 Aug 1, 2024
ac9e496
screenresolution: Stop interpolating `bin`
issyl0 Aug 1, 2024
05deca4
sdcc: Stop interpolating `bin`
issyl0 Aug 1, 2024
bd7315b
sec: Stop interpolating `bin`
issyl0 Aug 1, 2024
a4a599b
securefs: Stop interpolating `bin`
issyl0 Aug 1, 2024
9f11339
selecta: Stop interpolating `bin`
issyl0 Aug 1, 2024
d5a5f65
senpai: Stop interpolating `bin`
issyl0 Aug 1, 2024
1edbb7e
serf: Stop interpolating `bin`
issyl0 Aug 1, 2024
c22e9ad
serverless: Stop interpolating `bin`
issyl0 Aug 1, 2024
d8ecb24
sfk: Stop interpolating `bin`
issyl0 Aug 1, 2024
458efa6
shairport: Stop interpolating `bin`
issyl0 Aug 1, 2024
2f30eb3
sheldon: Stop interpolating `bin`
issyl0 Aug 1, 2024
edda282
shell2http: Stop interpolating `bin`
issyl0 Aug 1, 2024
2259c8d
shellshare: Stop interpolating `bin`
issyl0 Aug 1, 2024
79d01df
shmux: Stop interpolating `bin`
issyl0 Aug 1, 2024
e2a2011
siege: Stop interpolating `bin`
issyl0 Aug 1, 2024
b6c5539
sigi: Stop interpolating `bin`
issyl0 Aug 1, 2024
d75d7fa
sigrok-cli: Stop interpolating `bin`
issyl0 Aug 1, 2024
ecfa73b
simple-scan: Stop interpolating `bin`
issyl0 Aug 1, 2024
61b77d2
simutrans: Stop interpolating `bin`
issyl0 Aug 1, 2024
1453306
since: Stop interpolating `bin`
issyl0 Aug 1, 2024
7fb3966
sing-box: Stop interpolating `bin`
issyl0 Aug 1, 2024
6aae035
sip: Stop interpolating `bin`
issyl0 Aug 1, 2024
fc1ef90
sipcalc: Stop interpolating `bin`
issyl0 Aug 1, 2024
1ef02e8
sipsak: Stop interpolating `bin`
issyl0 Aug 1, 2024
5b17f92
ski: Stop interpolating `bin`
issyl0 Aug 1, 2024
2684850
sl: Stop interpolating `bin`
issyl0 Aug 1, 2024
f5eefa2
slacknimate: Stop interpolating `bin`
issyl0 Aug 1, 2024
5a5dd6b
sloccount: Stop interpolating `bin`
issyl0 Aug 1, 2024
bc669dc
slowhttptest: Stop interpolating `bin`
issyl0 Aug 1, 2024
7f8b54c
slugify: Stop interpolating `bin`
issyl0 Aug 1, 2024
ca89108
smake: Stop interpolating `bin`
issyl0 Aug 1, 2024
b9f200f
smartypants: Stop interpolating `bin`
issyl0 Aug 1, 2024
9c4b4c5
smimesign: Stop interpolating `bin`
issyl0 Aug 1, 2024
0ace940
smlfmt: Stop interpolating `bin`
issyl0 Aug 1, 2024
59fe2ac
smug: Stop interpolating `bin`
issyl0 Aug 1, 2024
9ee33e4
snakeviz: Stop interpolating `bin`
issyl0 Aug 1, 2024
0dbba80
snow: Stop interpolating `bin`
issyl0 Aug 1, 2024
43b2e83
sntop: Stop interpolating `bin`
issyl0 Aug 1, 2024
abaadc5
snzip: Stop interpolating `bin`
issyl0 Aug 1, 2024
2c5fe62
solargraph: Stop interpolating `bin`
issyl0 Aug 1, 2024
2a74fc5
solarus: Stop interpolating `bin`
issyl0 Aug 1, 2024
3710017
souffle: Stop interpolating `bin`
issyl0 Aug 1, 2024
035fb30
sourcedocs: Stop interpolating `bin`
issyl0 Aug 1, 2024
74e2777
sourcekitten: Stop interpolating `bin`
issyl0 Aug 1, 2024
8e7de24
spark: Stop interpolating `bin`
issyl0 Aug 1, 2024
9c9ccee
sparkey: Stop interpolating `bin`
issyl0 Aug 1, 2024
ed19302
sparse: Stop interpolating `bin`
issyl0 Aug 1, 2024
b0f5395
spawn-fcgi: Stop interpolating `bin`
issyl0 Aug 1, 2024
b9b7199
speedread: Stop interpolating `bin`
issyl0 Aug 1, 2024
134fef0
spim: Stop interpolating `bin`
issyl0 Aug 1, 2024
ea34e74
spoof-mac: Stop interpolating `bin`
issyl0 Aug 1, 2024
d9d3a0c
spr: Stop interpolating `bin`
issyl0 Aug 1, 2024
ac6e6fd
sql-language-server: Stop interpolating `bin`
issyl0 Aug 1, 2024
663a268
squiid: Stop interpolating `bin`
issyl0 Aug 1, 2024
f55ee6a
ssdb: Stop interpolating `bin`
issyl0 Aug 1, 2024
5a4c2d1
sshfs: Stop interpolating `bin`
issyl0 Aug 1, 2024
83ae1e1
sshtrix: Stop interpolating `bin`
issyl0 Aug 1, 2024
9bcc741
ssldump: Stop interpolating `bin`
issyl0 Aug 1, 2024
b30baae
ssllabs-scan: Stop interpolating `bin`
issyl0 Aug 1, 2024
766252c
sslscan: Stop interpolating `bin`
issyl0 Aug 1, 2024
278bdb5
star: Stop interpolating `bin`
issyl0 Aug 1, 2024
143a859
step: Stop interpolating `bin`
issyl0 Aug 1, 2024
4f4863a
stockfish: Stop interpolating `bin`
issyl0 Aug 1, 2024
d975a14
stoken: Stop interpolating `bin`
issyl0 Aug 1, 2024
f932324
streamlink: Stop interpolating `bin`
issyl0 Aug 1, 2024
fa689f2
streamripper: Stop interpolating `bin`
issyl0 Aug 1, 2024
c07ab53
stubby: Stop interpolating `bin`
issyl0 Aug 1, 2024
b913a19
sub2srt: Stop interpolating `bin`
issyl0 Aug 1, 2024
6797ba2
supermodel: Stop interpolating `bin`
issyl0 Aug 1, 2024
0d66909
svg2pdf: Stop interpolating `bin`
issyl0 Aug 1, 2024
aca6353
svg2png: Stop interpolating `bin`
issyl0 Aug 1, 2024
83c5838
swagger-codegen: Stop interpolating `bin`
issyl0 Aug 1, 2024
b3d6c76
swaks: Stop interpolating `bin`
issyl0 Aug 1, 2024
abdc9f1
swift-sh: Stop interpolating `bin`
issyl0 Aug 1, 2024
6724401
swift: Stop interpolating `bin`
issyl0 Aug 1, 2024
37fd4ad
swiftformat: Stop interpolating `bin`
issyl0 Aug 1, 2024
6b07d93
swiftplantuml: Stop interpolating `bin`
issyl0 Aug 1, 2024
fa1d2b4
swig: Stop interpolating `bin`
issyl0 Aug 1, 2024
0e28274
swimat: Stop interpolating `bin`
issyl0 Aug 1, 2024
a64bffe
sylpheed: Stop interpolating `bin`
issyl0 Aug 1, 2024
a027a64
synscan: Stop interpolating `bin`
issyl0 Aug 1, 2024
282b38e
sysbench: Stop interpolating `bin`
issyl0 Aug 1, 2024
0fbc513
systemd: Stop interpolating `bin`
issyl0 Aug 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Formula/s/s3fs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ def install
end

test do
system "#{bin}/s3fs", "--version"
system bin/"s3fs", "--version"
end
end
4 changes: 2 additions & 2 deletions Formula/s/sambamba.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def install
end

resource("homebrew-testdata").stage testpath
system "#{bin}/sambamba", "view", "-S", "ex1_header.sam", "-f", "bam", "-o", "ex1_header.bam"
system "#{bin}/sambamba", "sort", "-t2", "-n", "ex1_header.bam", "-o", "ex1_header.sorted.bam", "-m", "200K"
system bin/"sambamba", "view", "-S", "ex1_header.sam", "-f", "bam", "-o", "ex1_header.bam"
system bin/"sambamba", "sort", "-t2", "-n", "ex1_header.bam", "-o", "ex1_header.sorted.bam", "-m", "200K"
assert_predicate testpath/"ex1_header.sorted.bam", :exist?
end
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/s/sampler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ def install
end

test do
assert_includes "specify config file", shell_output("#{bin}/sampler")
assert_includes "specify config file", shell_output(bin/"sampler")
end
end
2 changes: 1 addition & 1 deletion Formula/s/scarb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def install
test do
assert_match "#{testpath}/Scarb.toml", shell_output("#{bin}/scarb manifest-path")

system "#{bin}/scarb", "init", "--name", "brewtest", "--no-vcs"
system bin/"scarb", "init", "--name", "brewtest", "--no-vcs"
assert_predicate testpath/"src/lib.cairo", :exist?
assert_match "brewtest", (testpath/"Scarb.toml").read

Expand Down
2 changes: 1 addition & 1 deletion Formula/s/sccache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def install
return 0;
}
EOS
system "#{bin}/sccache", "cc", "hello.c", "-o", "hello-c"
system bin/"sccache", "cc", "hello.c", "-o", "hello-c"
assert_equal "Hello, world!", shell_output("./hello-c").chomp
end
end
2 changes: 1 addition & 1 deletion Formula/s/scour.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def install
end

test do
system "#{bin}/scour", "-i", test_fixtures("test.svg"), "-o", "scrubbed.svg"
system bin/"scour", "-i", test_fixtures("test.svg"), "-o", "scrubbed.svg"
assert_predicate testpath/"scrubbed.svg", :exist?
end
end
4 changes: 2 additions & 2 deletions Formula/s/scrapy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ def install
test do
assert_match version.to_s, shell_output("#{bin}/scrapy version")

system "#{bin}/scrapy", "startproject", "brewproject"
system bin/"scrapy", "startproject", "brewproject"
cd testpath/"brewproject" do
system "#{bin}/scrapy", "genspider", "-t", "basic", "brewspider", "brew.sh"
system bin/"scrapy", "genspider", "-t", "basic", "brewspider", "brew.sh"
assert_match "INFO: Spider closed (finished)", shell_output("#{bin}/scrapy crawl brewspider 2>&1")
end
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/s/screenfetch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ def install
end

test do
system "#{bin}/screenfetch"
system bin/"screenfetch"
end
end
2 changes: 1 addition & 1 deletion Formula/s/screenresolution.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ def install
end

test do
system "#{bin}/screenresolution", "get"
system bin/"screenresolution", "get"
end
end
2 changes: 1 addition & 1 deletion Formula/s/sdcc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def install
return 0;
}
EOS
system "#{bin}/sdcc", "-mz80", "#{testpath}/test.c"
system bin/"sdcc", "-mz80", "#{testpath}/test.c"
assert_predicate testpath/"test.ihx", :exist?
end
end
2 changes: 1 addition & 1 deletion Formula/s/sec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ def install
end

test do
system "#{bin}/sec", "--version"
system bin/"sec", "--version"
end
end
2 changes: 1 addition & 1 deletion Formula/s/securefs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ def install
end

test do
system "#{bin}/securefs", "version" # The sandbox prevents a more thorough test
system bin/"securefs", "version" # The sandbox prevents a more thorough test
end
end
2 changes: 1 addition & 1 deletion Formula/s/selecta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def install
end

test do
system "#{bin}/selecta", "--version"
system bin/"selecta", "--version"
end
end
2 changes: 1 addition & 1 deletion Formula/s/senpai.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def install
test do
require "pty"

stdout, _stdin, _pid = PTY.spawn "#{bin}/senpai"
stdout, _stdin, _pid = PTY.spawn bin/"senpai"
_ = stdout.readline
assert_equal "Configuration assistant: senpai will create a configuration file for you.\r\n", stdout.readline
end
Expand Down
4 changes: 2 additions & 2 deletions Formula/s/serf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ def install

test do
pid = fork do
exec "#{bin}/serf", "agent"
exec bin/"serf", "agent"
end
sleep 1
assert_match(/:7946.*alive$/, shell_output("#{bin}/serf members"))
ensure
system "#{bin}/serf", "leave"
system bin/"serf", "leave"
Process.kill "SIGINT", pid
Process.wait pid
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/s/serverless.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def install
region: eu-west-1
EOS

system("#{bin}/serverless", "config", "credentials", "--provider", "aws", "--key", "aa", "--secret", "xx")
system(bin/"serverless", "config", "credentials", "--provider", "aws", "--key", "aa", "--secret", "xx")
output = shell_output("#{bin}/serverless package 2>&1")
assert_match "Packaging homebrew-test for stage dev", output
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/s/sfk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ def install
end

test do
system "#{bin}/sfk", "ip"
system bin/"sfk", "ip"
end
end
2 changes: 1 addition & 1 deletion Formula/s/shairport.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ def install
end

test do
system "#{bin}/shairport", "-h"
system bin/"shairport", "-h"
end
end
2 changes: 1 addition & 1 deletion Formula/s/sheldon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def check_binary_linkage(binary, library)

test do
touch testpath/"plugins.toml"
system "#{bin}/sheldon", "--config-dir", testpath, "--data-dir", testpath, "lock"
system bin/"sheldon", "--config-dir", testpath, "--data-dir", testpath, "lock"
assert_predicate testpath/"plugins.lock", :exist?

[
Expand Down
2 changes: 1 addition & 1 deletion Formula/s/shell2http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def install
test do
port = free_port
pid = fork do
exec "#{bin}/shell2http", "-port", port.to_s, "/echo", "echo brewtest"
exec bin/"shell2http", "-port", port.to_s, "/echo", "echo brewtest"
end
sleep 1
output = shell_output("curl -s http://localhost:#{port}")
Expand Down
2 changes: 1 addition & 1 deletion Formula/s/shellshare.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def install
end

test do
system "#{bin}/shellshare", "-v"
system bin/"shellshare", "-v"
end
end
2 changes: 1 addition & 1 deletion Formula/s/shmux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ def install
end

test do
system "#{bin}/shmux", "-h"
system bin/"shmux", "-h"
end
end
2 changes: 1 addition & 1 deletion Formula/s/siege.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ def caveats
end

test do
system "#{bin}/siege", "--concurrent=1", "--reps=1", "https://www.google.com/"
system bin/"siege", "--concurrent=1", "--reps=1", "https://www.google.com/"
end
end
2 changes: 1 addition & 1 deletion Formula/s/sigi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def install
end

test do
system "#{bin}/sigi", "-st", "_brew_test", "push", "Hello World"
system bin/"sigi", "-st", "_brew_test", "push", "Hello World"
assert_equal "Hello World", shell_output("#{bin}/sigi -qt _brew_test pop").strip
end
end
2 changes: 1 addition & 1 deletion Formula/s/sigrok-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ def install

test do
# Make sure that we can capture samples from the demo device
system "#{bin}/sigrok-cli", "-d", "demo", "--samples", "1"
system bin/"sigrok-cli", "-d", "demo", "--samples", "1"
end
end
2 changes: 1 addition & 1 deletion Formula/s/simple-scan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ def post_install
# Errors with `Cannot open display`
return if OS.linux? && ENV["HOMEBREW_GITHUB_ACTIONS"].present?

system "#{bin}/simple-scan", "-v"
system bin/"simple-scan", "-v"
end
end
2 changes: 1 addition & 1 deletion Formula/s/simutrans.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ def install
end

test do
system "#{bin}/simutrans", "--help"
system bin/"simutrans", "--help"
end
end
2 changes: 1 addition & 1 deletion Formula/s/since.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def install
foo
bar
EOS
system "#{bin}/since", "-z", "test"
system bin/"since", "-z", "test"
assert_predicate testpath/".since", :exist?
end
end
6 changes: 3 additions & 3 deletions Formula/s/sing-box.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def install
]
}
EOS
server = fork { exec "#{bin}/sing-box", "run", "-D", testpath, "-c", testpath/"shadowsocks.json" }
server = fork { exec bin/"sing-box", "run", "-D", testpath, "-c", testpath/"shadowsocks.json" }

sing_box_port = free_port
(testpath/"config.json").write <<~EOS
Expand All @@ -69,8 +69,8 @@ def install
]
}
EOS
system "#{bin}/sing-box", "check", "-D", testpath, "-c", "config.json"
client = fork { exec "#{bin}/sing-box", "run", "-D", testpath, "-c", "config.json" }
system bin/"sing-box", "check", "-D", testpath, "-c", "config.json"
client = fork { exec bin/"sing-box", "run", "-D", testpath, "-c", "config.json" }

sleep 3
begin
Expand Down
2 changes: 1 addition & 1 deletion Formula/s/sip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ def install
%End
EOS

system "#{bin}/sip-install", "--target-dir", "."
system bin/"sip-install", "--target-dir", "."
end
end
2 changes: 1 addition & 1 deletion Formula/s/sipcalc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def install
end

test do
system "#{bin}/sipcalc", "-h"
system bin/"sipcalc", "-h"
end
end
2 changes: 1 addition & 1 deletion Formula/s/sipsak.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ def install
end

test do
system "#{bin}/sipsak", "-V"
system bin/"sipsak", "-V"
end
end
2 changes: 1 addition & 1 deletion Formula/s/ski.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ def install
end

test do
assert_match "Bye!", pipe_output("#{bin}/ski", "")
assert_match "Bye!", pipe_output(bin/"ski", "")
end
end
2 changes: 1 addition & 1 deletion Formula/s/sl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def install
end

test do
system "#{bin}/sl", "-c"
system bin/"sl", "-c"
end
end
4 changes: 2 additions & 2 deletions Formula/s/slacknimate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def install
end

test do
system "#{bin}/slacknimate", "--version"
system "#{bin}/slacknimate", "--help"
system bin/"slacknimate", "--version"
system bin/"slacknimate", "--help"
end
end
2 changes: 1 addition & 1 deletion Formula/s/sloccount.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def install
end

test do
system "#{bin}/sloccount", "--version"
system bin/"sloccount", "--version"
end
end

Expand Down
2 changes: 1 addition & 1 deletion Formula/s/slowhttptest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def install
end

test do
system "#{bin}/slowhttptest", "-u", "https://google.com",
system bin/"slowhttptest", "-u", "https://google.com",
"-p", "1", "-r", "1", "-l", "1", "-i", "1"

assert_match version.to_s, shell_output("#{bin}/slowhttptest -h", 1)
Expand Down
2 changes: 1 addition & 1 deletion Formula/s/slugify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ def install
end

test do
system "#{bin}/slugify", "-n", "dry_run.txt"
system bin/"slugify", "-n", "dry_run.txt"
end
end
2 changes: 1 addition & 1 deletion Formula/s/smake.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ def install
end

test do
system "#{bin}/smake", "-version"
system bin/"smake", "-version"
end
end
2 changes: 1 addition & 1 deletion Formula/s/smartypants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def install

test do
assert_equal "&#8220;Give me a beer&#8221;, said Mike O&#8217;Connor",
pipe_output("#{bin}/smartypants",
pipe_output(bin/"smartypants",
%q("Give me a beer", said Mike O'Connor), 0)
end
end
2 changes: 1 addition & 1 deletion Formula/s/smimesign.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def install

test do
assert_match version.to_s, shell_output("#{bin}/smimesign --version")
system "#{bin}/smimesign", "--list-keys"
system bin/"smimesign", "--list-keys"
assert_match "could not find identity matching specified user-id: bad@identity",
shell_output("#{bin}/smimesign -su bad@identity 2>&1", 1)
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/s/smlfmt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def install
val x = 5
val y = 6
EOS
system "#{bin}/smlfmt", "--force", "source.sml"
system bin/"smlfmt", "--force", "source.sml"
assert_equal expected_output, (testpath/"source.sml").read
end
end
2 changes: 1 addition & 1 deletion Formula/s/smug.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def install
- name: test
EOF

assert_equal(version, shell_output("#{bin}/smug").lines.first.split("Version").last.chomp)
assert_equal(version, shell_output(bin/"smug").lines.first.split("Version").last.chomp)

with_env(TERM: "screen-256color") do
system bin/"smug", "start", "--file", testpath/"test.yml", "--detach"
Expand Down
Loading
Loading