Sha256: f585680cf082f63b879fa74aec17c1d82c64252d39d36f1de8562c7533df1ede

Contents?: true

Size: 413 Bytes

Versions: 9

Compression:

Stored size: 413 Bytes

Contents

#!/bin/sh

if [ "$#" != "1" ]; then
	echo "Usage: $0 <feature>"
	exit 99
fi

dirname=$(dirname $0)
feature=$1

if [ ! -e "$feature" ]; then
	echo "Error: feature file doesn't exist!"
	exit 98
fi

$dirname/cucumber --require $dirname/common.rb \
				 					--require features/ \
				 					--format Nagios::NagiosFormatter \
				 					$feature
retval=$?

if [ "$retval" -eq "1" ]; then
	exit 2
else
	exit $retval
fi

Version data entries

9 entries across 6 versions & 1 rubygems

Version Path
auxesis-cucumber-nagios-0.2.1 bin/cucumber-nagios
auxesis-cucumber-nagios-0.2.1 lib/generators/project/bin/cucumber-nagios
auxesis-cucumber-nagios-0.2.2 bin/cucumber-nagios
auxesis-cucumber-nagios-0.2.2 lib/generators/project/bin/cucumber-nagios
auxesis-cucumber-nagios-0.2.5 lib/generators/project/bin/cucumber-nagios
auxesis-cucumber-nagios-0.2.6 lib/generators/project/bin/cucumber-nagios
auxesis-cucumber-nagios-0.2.8 lib/generators/project/bin/cucumber-nagios
auxesis-cucumber-nagios-0.2 lib/generators/project/bin/cucumber-nagios
auxesis-cucumber-nagios-0.2 bin/cucumber-nagios