From 4277cad7e95040a35a3a9078f03300838bce1582 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Fri, 26 Aug 2016 02:13:21 +0100 Subject: [PATCH] osh: bump version_scheme & drop custom version Closes #4242. Signed-off-by: Dominyk Tiller --- Formula/osh.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Formula/osh.rb b/Formula/osh.rb index 34e2d073af..0effcff6f6 100644 --- a/Formula/osh.rb +++ b/Formula/osh.rb @@ -2,9 +2,8 @@ class Osh < Formula desc "Two ports of /bin/sh from V6 UNIX (circa 1975)" homepage "http://v6shell.org" url "http://v6shell.org/src/osh-4.2.1.tar.gz" - # TODO: fix this when epochs exist - version "20160515" sha256 "2e2855c58b88d96146accbdc60f39a5745dea571b620b5f38ebf3e43d9b0ca74" + version_scheme 1 head "https://github.com/JNeitzel/v6shell.git" bottle do @@ -32,11 +31,11 @@ class Osh < Formula end test do - assert_match /Homebrew!/, shell_output("#{bin}/osh -c 'echo Homebrew!'").strip + assert_match "brew!", shell_output("#{bin}/osh -c 'echo brew!'").strip if build.with? "examples" ENV.prepend_path "PATH", libexec - assert_match /1 3 5 7 9 11 13 15 17 19/, shell_output("#{libexec}/counts").strip + assert_match "1 3 5 7 9 11 13 15 17 19", shell_output("#{libexec}/counts").strip end end end