diff options
Diffstat (limited to 'Library/Formula/cpmtools.rb')
| -rw-r--r-- | Library/Formula/cpmtools.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/cpmtools.rb b/Library/Formula/cpmtools.rb index 5864ded8c..c584a0a4f 100644 --- a/Library/Formula/cpmtools.rb +++ b/Library/Formula/cpmtools.rb @@ -26,8 +26,7 @@ class Cpmtools < Formula system "#{bin}/cpmcp -f ibm-3740 #{image} #{src} 0:foo" # check for the file in the cp/m directory - assert `#{bin}/cpmls -f ibm-3740 #{image}`.include?("foo") - assert_equal 0, $?.exitstatus + assert shell_output("#{bin}/cpmls -f ibm-3740 #{image}").include?("foo") # copy the file back out of the image dest = testpath/"bar" |
