Compare commits
78 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a15dbce6d2 | ||
|
|
0f8a25e69c | ||
|
|
72a6bf7bf1 | ||
|
|
c9f30db5b6 | ||
|
|
a4d13598b6 | ||
|
|
c656b3f675 | ||
|
|
8f3db82877 | ||
|
|
9d5514744d | ||
|
|
2588a28886 | ||
|
|
9388d9646b | ||
|
|
eb630ff887 | ||
|
|
a624ae482a | ||
|
|
538b3d2602 | ||
|
|
d10ed68b35 | ||
|
|
835dd91fa4 | ||
|
|
a038b38933 | ||
|
|
99d8062c61 | ||
|
|
d096ea30df | ||
|
|
db54bf3ba7 | ||
|
|
65f279cdeb | ||
|
|
3de893e2a3 | ||
|
|
1d78048fc4 | ||
|
|
db4cdc92f2 | ||
|
|
14b1a9c292 | ||
|
|
23ab4f4fd1 | ||
|
|
f1928d6977 | ||
|
|
97dd4e0b1d | ||
|
|
30b9fc5a5b | ||
|
|
266b394af7 | ||
|
|
490a647626 | ||
|
|
153e38e775 | ||
|
|
f0e9bc545f | ||
|
|
3a45f720e3 | ||
|
|
46393b8cd7 | ||
|
|
266740c629 | ||
|
|
190f25bf07 | ||
|
|
08c683c968 | ||
|
|
4ae9ed5a20 | ||
|
|
2fc35ed917 | ||
|
|
0bca9ebf3a | ||
|
|
3273ac94c3 | ||
|
|
fd4b5bae46 | ||
|
|
693cff7f95 | ||
|
|
3c54a6862b | ||
|
|
fe19dac050 | ||
|
|
66ab946a10 | ||
|
|
c9c55686ff | ||
|
|
e6f93c881b | ||
|
|
25b04415a5 | ||
|
|
dca894f661 | ||
|
|
0f8a9a0294 | ||
|
|
9b14a42a6f | ||
|
|
0a64fa121d | ||
|
|
26e822c047 | ||
|
|
9f5384a3ba | ||
|
|
f88014a4ce | ||
|
|
bd087f957b | ||
|
|
025e5226d5 | ||
|
|
70d33e97af | ||
|
|
63af860b25 | ||
|
|
002ec9198a | ||
|
|
176c75179d | ||
|
|
7b2eec668a | ||
|
|
ce13162fee | ||
|
|
06bac0c245 | ||
|
|
ff8d8b847c | ||
|
|
5ae2b8c613 | ||
|
|
08fcd8ef25 | ||
|
|
f2e8dbf8c1 | ||
|
|
7664428d2e | ||
|
|
3df8cb4dc3 | ||
|
|
1a6f03641b | ||
|
|
b4de053d29 | ||
|
|
c34fd0b1de | ||
|
|
85effee4d8 | ||
|
|
7a79692608 | ||
|
|
0675d9c3b2 | ||
|
|
1df83c8038 |
8 changed files with 431 additions and 147 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
||||||
/aruba-0.4.11.gem
|
/aruba-*.gem
|
||||||
|
/rubygem-aruba-*-testsuite.tar.gz
|
||||||
|
|
|
||||||
30
aruba-create-test-suite-tarball.sh
Normal file
30
aruba-create-test-suite-tarball.sh
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ $# -lt 1 ]
|
||||||
|
then
|
||||||
|
echo "$0 <version>"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -x
|
||||||
|
set -e
|
||||||
|
|
||||||
|
GEMNAME=aruba
|
||||||
|
CURRDIR=$(pwd)
|
||||||
|
VERSION=$1
|
||||||
|
|
||||||
|
TMPDIRPATH=$(mktemp -d /var/tmp/${GEMNAME}-tar-XXXXXX)
|
||||||
|
pushd $TMPDIRPATH
|
||||||
|
|
||||||
|
git clone https://github.com/cucumber/${GEMNAME}.git
|
||||||
|
pushd ${GEMNAME}
|
||||||
|
git reset --hard v${VERSION}
|
||||||
|
popd
|
||||||
|
|
||||||
|
ln -sf ${GEMNAME} ${GEMNAME}-${VERSION}
|
||||||
|
tar czf ${CURRDIR}/rubygem-${GEMNAME}-${VERSION}-testsuite.tar.gz \
|
||||||
|
${GEMNAME}-${VERSION}/{features,fixtures,spec}
|
||||||
|
|
||||||
|
popd
|
||||||
|
|
||||||
|
rm -rf $TMPDIRPATH
|
||||||
|
|
@ -1,43 +0,0 @@
|
||||||
commit 3f8ed748d73fa9d39fe163f14540a7ef2a53a5c1
|
|
||||||
Author: Jarl Friis <jarl@softace.dk>
|
|
||||||
Date: Fri Oct 12 23:28:31 2012 +0200
|
|
||||||
|
|
||||||
These tests are actually not testing output from the process anyway, because the process is actually never started.
|
|
||||||
|
|
||||||
diff --git a/features/exit_statuses.feature b/features/exit_statuses.feature
|
|
||||||
index 5c5dffe..b971152 100644
|
|
||||||
--- a/features/exit_statuses.feature
|
|
||||||
+++ b/features/exit_statuses.feature
|
|
||||||
@@ -30,13 +30,3 @@ Feature: exit statuses
|
|
||||||
Scenario: Unsuccessfully run something
|
|
||||||
When I do aruba I successfully run `ruby -e 'exit 10'`
|
|
||||||
Then aruba should fail with "Exit status was 10"
|
|
||||||
-
|
|
||||||
- @posix
|
|
||||||
- Scenario: Try to run something that doesn't exist
|
|
||||||
- When I run `does_not_exist`
|
|
||||||
- Then the exit status should be 1
|
|
||||||
-
|
|
||||||
- @posix
|
|
||||||
- Scenario: Try to run something that doesn't exist with `
|
|
||||||
- When I run `does_not_exist`
|
|
||||||
- Then the exit status should be 1
|
|
||||||
diff --git a/features/output.feature b/features/output.feature
|
|
||||||
index 35b931d..f577d26 100644
|
|
||||||
--- a/features/output.feature
|
|
||||||
+++ b/features/output.feature
|
|
||||||
@@ -5,14 +5,6 @@ Feature: Output
|
|
||||||
I want to use the "the output should contain" step
|
|
||||||
|
|
||||||
@posix
|
|
||||||
- Scenario: Run unknown command
|
|
||||||
- When I run `neverever gonna work`
|
|
||||||
- Then the output should contain:
|
|
||||||
- """
|
|
||||||
- No such file or directory - neverever
|
|
||||||
- """
|
|
||||||
-
|
|
||||||
- @posix
|
|
||||||
Scenario: Detect subset of one-line output
|
|
||||||
When I run `ruby -e 'puts \"hello world\"'`
|
|
||||||
Then the output should contain "hello world"
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
||||||
--- specifications/aruba-0.4.11.gemspec.orig 2012-04-19 08:35:59.000000000 +0200
|
|
||||||
+++ specifications/aruba-0.4.11.gemspec 2012-04-19 08:38:14.294458217 +0200
|
|
||||||
@@ -20,8 +20,7 @@
|
|
||||||
|
|
||||||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
||||||
s.add_runtime_dependency(%q<cucumber>, [">= 1.1.1"])
|
|
||||||
- s.add_runtime_dependency(%q<childprocess>, [">= 0.2.3"])
|
|
||||||
+ s.add_runtime_dependency(%q<childprocess>, [">= 0.2.0"])
|
|
||||||
- s.add_runtime_dependency(%q<ffi>, [">= 1.0.11"])
|
|
||||||
s.add_runtime_dependency(%q<rspec>, [">= 2.7.0"])
|
|
||||||
s.add_development_dependency(%q<bcat>, [">= 0.6.1"])
|
|
||||||
s.add_development_dependency(%q<rdiscount>, [">= 1.6.8"])
|
|
||||||
@@ -28,8 +28,7 @@
|
|
||||||
s.add_development_dependency(%q<rake>, [">= 0.9.2"])
|
|
||||||
else
|
|
||||||
s.add_dependency(%q<cucumber>, [">= 1.1.1"])
|
|
||||||
- s.add_dependency(%q<childprocess>, [">= 0.2.3"])
|
|
||||||
+ s.add_dependency(%q<childprocess>, [">= 0.2.0"])
|
|
||||||
- s.add_dependency(%q<ffi>, [">= 1.0.11"])
|
|
||||||
s.add_dependency(%q<rspec>, [">= 2.7.0"])
|
|
||||||
s.add_dependency(%q<bcat>, [">= 0.6.1"])
|
|
||||||
s.add_dependency(%q<rdiscount>, [">= 1.6.8"])
|
|
||||||
@@ -37,8 +37,7 @@
|
|
||||||
end
|
|
||||||
else
|
|
||||||
s.add_dependency(%q<cucumber>, [">= 1.1.1"])
|
|
||||||
- s.add_dependency(%q<childprocess>, [">= 0.2.3"])
|
|
||||||
+ s.add_dependency(%q<childprocess>, [">= 0.2.0"])
|
|
||||||
- s.add_dependency(%q<ffi>, [">= 1.0.11"])
|
|
||||||
s.add_dependency(%q<rspec>, [">= 2.7.0"])
|
|
||||||
s.add_dependency(%q<bcat>, [">= 0.6.1"])
|
|
||||||
s.add_dependency(%q<rdiscount>, [">= 1.6.8"])
|
|
||||||
39
rubygem-aruba-2.0.0-make-bundler-optional.patch
Normal file
39
rubygem-aruba-2.0.0-make-bundler-optional.patch
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
--- aruba-2.0.0/lib/aruba/api/bundler.rb.make_optional 2021-07-27 04:28:08.000000000 +0900
|
||||||
|
+++ aruba-2.0.0/lib/aruba/api/bundler.rb 2022-01-14 14:40:50.369324292 +0900
|
||||||
|
@@ -1,7 +1,6 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require 'aruba/api/environment'
|
||||||
|
-require 'bundler'
|
||||||
|
|
||||||
|
module Aruba
|
||||||
|
module Api
|
||||||
|
@@ -8,6 +7,19 @@ module Aruba
|
||||||
|
|
||||||
|
# Unset variables used by bundler
|
||||||
|
def unset_bundler_env_vars
|
||||||
|
+ begin
|
||||||
|
+ require "bundler"
|
||||||
|
+ unset_bundler_env_vars_new
|
||||||
|
+ rescue LoadError
|
||||||
|
+ %w[RUBYOPT BUNDLE_PATH BUNDLE_BIN_PATH BUNDLE_GEMFILE].each do |key|
|
||||||
|
+ delete_environment_variable(key)
|
||||||
|
+ end
|
||||||
|
+ end
|
||||||
|
+ end
|
||||||
|
+
|
||||||
|
+ private
|
||||||
|
+
|
||||||
|
+ def unset_bundler_env_vars_new
|
||||||
|
empty_env = with_environment { with_unbundled_env { ENV.to_h } }
|
||||||
|
aruba_env = aruba.environment.to_h
|
||||||
|
(aruba_env.keys - empty_env.keys).each do |key|
|
||||||
|
@@ -18,8 +30,6 @@ module Aruba
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
- private
|
||||||
|
-
|
||||||
|
def with_unbundled_env(&block)
|
||||||
|
if ::Bundler.respond_to?(:with_unbundled_env)
|
||||||
|
::Bundler.with_unbundled_env(&block)
|
||||||
42
rubygem-aruba-2.3.1-diff-lcs-1_6-change.patch
Normal file
42
rubygem-aruba-2.3.1-diff-lcs-1_6-change.patch
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
From bd2aea600f7e989e4da734c3e823c3ce12ce629b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Matijs van Zuijlen <matijs@matijs.net>
|
||||||
|
Date: Sun, 6 Apr 2025 23:32:36 +0200
|
||||||
|
Subject: [PATCH] Update expected diff output to match changes in diff-lcs
|
||||||
|
|
||||||
|
Version 1.6.0 of diff-lcs included a bug fix that corrects the hunk
|
||||||
|
ranges it outputs. This change bumps the minimum version of diff-lcs to
|
||||||
|
1.6.0 so this change is sure to be included, and updates the
|
||||||
|
expectations in the cucumber scenarios that depend on exact diff-lcs
|
||||||
|
output.
|
||||||
|
---
|
||||||
|
aruba.gemspec | 1 +
|
||||||
|
.../cucumber/steps/command/check_output_of_command.feature | 2 +-
|
||||||
|
.../cucumber/steps/command/check_stderr_of_command.feature | 2 +-
|
||||||
|
3 files changed, 3 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/features/03_testing_frameworks/cucumber/steps/command/check_output_of_command.feature b/features/03_testing_frameworks/cucumber/steps/command/check_output_of_command.feature
|
||||||
|
index 3266514b..1f0d1997 100644
|
||||||
|
--- a/features/03_testing_frameworks/cucumber/steps/command/check_output_of_command.feature
|
||||||
|
+++ b/features/03_testing_frameworks/cucumber/steps/command/check_output_of_command.feature
|
||||||
|
@@ -353,7 +353,7 @@ Feature: All output of commands which were executed
|
||||||
|
world" to output string is eq: "hello
|
||||||
|
worl"
|
||||||
|
Diff:
|
||||||
|
- @@ -1,3 +1,3 @@
|
||||||
|
+ @@ -1,2 +1,2 @@
|
||||||
|
hello
|
||||||
|
-worl
|
||||||
|
+world
|
||||||
|
diff --git a/features/03_testing_frameworks/cucumber/steps/command/check_stderr_of_command.feature b/features/03_testing_frameworks/cucumber/steps/command/check_stderr_of_command.feature
|
||||||
|
index cc0e7aad..d3b4c9a9 100644
|
||||||
|
--- a/features/03_testing_frameworks/cucumber/steps/command/check_stderr_of_command.feature
|
||||||
|
+++ b/features/03_testing_frameworks/cucumber/steps/command/check_stderr_of_command.feature
|
||||||
|
@@ -82,7 +82,7 @@ Feature: STDERR of commands which were executed
|
||||||
|
expected "hello
|
||||||
|
world!" to output string is eq: ""
|
||||||
|
Diff:
|
||||||
|
- @@ -1,2 +1,4 @@
|
||||||
|
+ @@ -0,0 +1,2 @@
|
||||||
|
+hello
|
||||||
|
+world!
|
||||||
|
"""
|
||||||
|
|
@ -1,106 +1,352 @@
|
||||||
# Generated from aruba-0.4.11.gem by gem2rpm -*- rpm-spec -*-
|
# Generated from aruba-0.4.11.gem by gem2rpm -*- rpm-spec -*-
|
||||||
%global gem_name aruba
|
%global gem_name aruba
|
||||||
|
|
||||||
Summary: CLI Steps for Cucumber, hand-crafted for you in Aruba
|
Summary: CLI Steps for Cucumber, hand-crafted for you in Aruba
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 0.4.11
|
Version: 2.3.3
|
||||||
Release: 6%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: Development/Languages
|
|
||||||
# aruba itself is MIT
|
# SPDX confirmed
|
||||||
# icons in templates/images are CC-BY
|
# templates/, jquery.js existed on 0.14.14, no longer included in 2.0 and above
|
||||||
# jquery.js itself is MIT or GPLv2
|
License: MIT
|
||||||
# jquery.js includes sizzle.js, which is MIT or BSD or GPLv2
|
URL: https://github.com/cucumber/aruba
|
||||||
License: MIT and CC-BY and (MIT or GPLv2) and (MIT or BSD or GPLv2)
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||||
URL: http://github.com/cucumber/aruba
|
Source1: %{name}-%{version}-testsuite.tar.gz
|
||||||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
# Source1 is created by $ bash %%SOURCE2 %%VERSION
|
||||||
Patch0: aruba-downgrade-childprocess-dependency.patch
|
Source2: %{gem_name}-create-test-suite-tarball.sh
|
||||||
# https://github.com/cucumber/aruba/commit/3f8ed748d73fa9d39fe163f14540a7ef2a53a5c1
|
# Make bundler runtime dependency optional
|
||||||
Patch1: aruba-disable-test-that-do-not-actually-test-output.patch
|
Patch1: rubygem-aruba-2.0.0-make-bundler-optional.patch
|
||||||
Requires: ruby(release)
|
# https://github.com/cucumber/aruba/commit/bd2aea600f7e989e4da734c3e823c3ce12ce629b
|
||||||
Requires: ruby(rubygems)
|
# We still use diff-lcs 1.5, revert the above patch for now
|
||||||
Requires: rubygem(cucumber) >= 1.1.1
|
Patch2: rubygem-aruba-2.3.1-diff-lcs-1_6-change.patch
|
||||||
Requires: rubygem(childprocess) >= 0.2.0
|
|
||||||
# Doesn't work with ffi 1.0.10, see https://github.com/cucumber/aruba/issues/114
|
|
||||||
Conflicts: rubygem(ffi) = 1.0.10
|
BuildRequires: ruby(release)
|
||||||
Requires: rubygem(rspec) >= 2.7.0
|
BuildRequires: rubygems-devel
|
||||||
BuildRequires: ruby(release)
|
BuildRequires: ruby
|
||||||
BuildRequires: rubygems-devel
|
# For %%check
|
||||||
BuildRequires: ruby
|
BuildRequires: rubygem(childprocess)
|
||||||
BuildRequires: rubygem(cucumber) >= 1.1.1
|
BuildRequires: rubygem(contracts)
|
||||||
BuildRequires: rubygem(childprocess) >= 0.2.0
|
BuildRequires: rubygem(cucumber)
|
||||||
BuildConflicts: rubygem(ffi) = 1.0.10
|
BuildRequires: rubygem(irb)
|
||||||
BuildRequires: rubygem(rspec) >= 2.7.0
|
BuildRequires: rubygem(minitest)
|
||||||
# used in one of the features
|
BuildRequires: rubygem(rspec) >= 3
|
||||||
BuildRequires: bc
|
BuildRequires: rubygem(thor)
|
||||||
BuildArch: noarch
|
BuildRequires: less
|
||||||
Provides: rubygem(%{gem_name}) = %{version}
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Aruba is Cucumber extension for Command line applications written
|
Aruba is Cucumber extension for Command line applications written
|
||||||
in any programming language.
|
in any programming language.
|
||||||
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{name}
|
||||||
Group: Documentation
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: %{name} = %{version}-%{release}
|
BuildArch: noarch
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Documentation for %{name}
|
Documentation for %{name}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -T
|
%setup -q -n %{gem_name}-%{version} -a 1
|
||||||
%gem_install -n %{SOURCE0}
|
pushd %{gem_name}-%{version}
|
||||||
|
for f in *
|
||||||
pushd .%{gem_dir}
|
do
|
||||||
%patch0 -p0
|
basef=$(basename $f)
|
||||||
|
target=../${basef}
|
||||||
|
ln -sf $(pwd)/$f $target
|
||||||
|
done
|
||||||
|
# For tests
|
||||||
|
ln -sf ../lib
|
||||||
popd
|
popd
|
||||||
|
%patch -P1 -p1
|
||||||
|
%patch -P2 -p1 -R
|
||||||
|
|
||||||
pushd .%{gem_instdir}
|
mv ../%{gem_name}-%{version}.gemspec .
|
||||||
%patch1 -p1
|
|
||||||
popd
|
# Relax cucumber dependency
|
||||||
|
# Partially revert https://github.com/cucumber/aruba/pull/906
|
||||||
|
sed -i '\@cucumber@s|>= 8.0|>= 7.0|' %{gem_name}-%{version}.gemspec
|
||||||
|
# Remove bundler dependency harder
|
||||||
|
sed -i '\@dependency.*bundler@d' %{gem_name}-%{version}.gemspec
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
gem build %{gem_name}-%{version}.gemspec
|
||||||
|
%gem_install
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{gem_dir}
|
mkdir -p %{buildroot}%{gem_dir}
|
||||||
cp -a .%{gem_dir}/* \
|
cp -a .%{gem_dir}/* \
|
||||||
%{buildroot}%{gem_dir}/
|
%{buildroot}%{gem_dir}/
|
||||||
|
|
||||||
|
rm -f %{buildroot}%{gem_cache}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd .%{gem_instdir}
|
pushd %{gem_name}-%{version}
|
||||||
cucumber
|
for f in *
|
||||||
# Wrongly designed test case. Process, which output should be read executes
|
do
|
||||||
# so fast, that it finished prior the output could be catched.
|
basef=$(basename $f)
|
||||||
# https://github.com/cucumber/aruba/issues/146
|
target=../%{gem_instdir}/${basef}
|
||||||
sed -i '22,30 s|^|#|' spec/aruba/process_spec.rb
|
unlink $target || true
|
||||||
rspec spec
|
ln -sf $(pwd)/$f $target
|
||||||
|
done
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
pushd .%{gem_instdir}
|
||||||
|
|
||||||
|
# We don't care about code coverage.
|
||||||
|
sed -i spec/spec_helper.rb \
|
||||||
|
-e '\@[sS]imple[Cc]ov@d' \
|
||||||
|
%{nil}
|
||||||
|
|
||||||
|
env RUBYOPT=-rtime \
|
||||||
|
rspec spec
|
||||||
|
|
||||||
|
# We don't care about code coverage.
|
||||||
|
sed -i features/support/env.rb \
|
||||||
|
-e '\@require.*simplecov@d'
|
||||||
|
> features/support/simplecov_setup.rb
|
||||||
|
|
||||||
|
# Let the test cli-app find Aruba.
|
||||||
|
sed -i fixtures/cli-app/spec/spec_helper.rb \
|
||||||
|
-e "\@\$LOAD_PATH@s|\.\./\.\./lib|$(pwd)/lib|"
|
||||||
|
|
||||||
|
# Kill tests which requires python explicitly
|
||||||
|
# (to reduce BR, anyway this test is not important)
|
||||||
|
sed -i features/step_definitions/hooks.rb \
|
||||||
|
-e '\@platform.which@s|"python"|"no-python"|'
|
||||||
|
|
||||||
|
# The following test fails on ppc64le, due to different block size
|
||||||
|
# (expected: 64k actual: 4k), disabling
|
||||||
|
PPC64_ENV_P=$(uname -m | grep -q ppc64 && echo 0 || echo 1)
|
||||||
|
if test x"${PPC64_ENV_P}" == x0
|
||||||
|
then
|
||||||
|
mv features/04_aruba_api/filesystem/report_disk_usage.feature{,.skip}
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Disable bundler tests.
|
||||||
|
mv features/03_testing_frameworks/cucumber/disable_bundler.feature{,.skip}
|
||||||
|
|
||||||
|
# Adjust test cases referring to $HOME.
|
||||||
|
sed -i features/04_aruba_api/core/expand_path.feature -e "s|/home/\[\^/\]+|$(echo $HOME)|"
|
||||||
|
sed -i features/02_configure_aruba/home_directory.feature \
|
||||||
|
-e "\@Scenario: Default value@,\@Scenario@s|/home/|$(echo $HOME)|"
|
||||||
|
sed -i features/02_configure_aruba/home_directory.feature \
|
||||||
|
-e "\@Set to aruba's working directory@,\@Scenario@s|/home/|$(echo $HOME)/|"
|
||||||
|
|
||||||
|
# Make the Aruba always awailable.
|
||||||
|
export CUCUMBER_PUBLISH_QUIET=true
|
||||||
|
env RUBYOPT=-I$(pwd)/lib cucumber -f progress
|
||||||
|
|
||||||
|
# Go back the skipped test
|
||||||
|
if test x"${PPC64_ENV_P}" == x0
|
||||||
|
then
|
||||||
|
mv features/04_aruba_api/filesystem/report_disk_usage.feature{.skip,}
|
||||||
|
fi
|
||||||
|
mv features/03_testing_frameworks/cucumber/disable_bundler.feature{.skip,}
|
||||||
|
|
||||||
|
popd # from .%%{gem_instdir}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{gem_instdir}
|
%dir %{gem_instdir}
|
||||||
%doc %{gem_instdir}/LICENSE
|
%license %{gem_instdir}/LICENSE
|
||||||
|
%doc %{gem_instdir}/README.md
|
||||||
|
|
||||||
%{gem_libdir}
|
%{gem_libdir}
|
||||||
%exclude %{gem_instdir}/.*
|
%{gem_instdir}/exe
|
||||||
%exclude %{gem_instdir}/config
|
|
||||||
%exclude %{gem_cache}
|
|
||||||
%{gem_spec}
|
%{gem_spec}
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%doc %{gem_docdir}
|
%doc %{gem_docdir}
|
||||||
%doc %{gem_instdir}/History.md
|
%doc %{gem_instdir}/CONTRIBUTING.md
|
||||||
%doc %{gem_instdir}/README.md
|
%doc %{gem_instdir}/CHANGELOG.md
|
||||||
%{gem_instdir}/Gemfile
|
|
||||||
%{gem_instdir}/Rakefile
|
|
||||||
%{gem_instdir}/%{gem_name}.gemspec
|
|
||||||
%{gem_instdir}/cucumber.yml
|
|
||||||
%{gem_instdir}/features
|
|
||||||
%{gem_instdir}/spec
|
|
||||||
%{gem_instdir}/templates
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 06 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.3.3-1
|
||||||
|
- 2.3.3
|
||||||
|
|
||||||
|
* Sun Sep 14 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.3.2-1
|
||||||
|
- 2.3.2
|
||||||
|
|
||||||
|
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jun 15 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.3.1-1
|
||||||
|
- 2.3.1
|
||||||
|
|
||||||
|
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 03 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.3.0-1
|
||||||
|
- 2.3.0
|
||||||
|
|
||||||
|
* Thu Nov 28 2024 Vít Ondruch <vondruch@redhat.com> - 2.2.0-10
|
||||||
|
- Drop BR: rubygem(pry)
|
||||||
|
|
||||||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 08 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.2.0-8
|
||||||
|
- Adjust testsuite for Minitest 5.22.2
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Dec 27 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.2.0-5
|
||||||
|
- Patch for ruby3.3
|
||||||
|
|
||||||
|
* Thu Nov 9 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.2.0-4
|
||||||
|
- Explicitly add BR: less for BR: pry
|
||||||
|
- Change cucumber publish quiet method
|
||||||
|
|
||||||
|
* Mon Sep 11 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.2.0-2
|
||||||
|
- Kill python test entirely to redure BR, it is not important
|
||||||
|
(related to bug 2237692)
|
||||||
|
|
||||||
|
* Fri Sep 8 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.2.0-1
|
||||||
|
- 2.2.0
|
||||||
|
- Relax cucumber dependency
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Mar 21 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.0-4
|
||||||
|
- Correct license tag
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu May 26 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.1.0-1
|
||||||
|
- 2.1.0
|
||||||
|
|
||||||
|
* Sun Apr 24 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.0.1-1
|
||||||
|
- 2.0.1
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 19 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.0.0-3
|
||||||
|
- Use upstream patch for rspec-core rspec test suite issue
|
||||||
|
(Gem.win_platform? related)
|
||||||
|
|
||||||
|
* Fri Jan 14 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.0.0-2
|
||||||
|
- Make bundler optional again
|
||||||
|
- Workaround patch to make rspec-core test suite pass
|
||||||
|
- Some cleanup
|
||||||
|
|
||||||
|
* Mon Sep 06 2021 Pavel Valena <pvalena@redhat.com> - 2.0.0-1
|
||||||
|
- Update to aruba 2.0.0
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.14-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Apr 6 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.14-6
|
||||||
|
- Add BR: rubygem(irb)
|
||||||
|
|
||||||
|
* Mon Feb 1 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.14-5
|
||||||
|
- Disable cucumber test failing on ppc64le
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.14-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.14-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.14-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Dec 30 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.14-1
|
||||||
|
- 0.14.14
|
||||||
|
|
||||||
|
* Thu Dec 26 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.13-1
|
||||||
|
- 0.14.13
|
||||||
|
|
||||||
|
* Tue Nov 5 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.12-1
|
||||||
|
- 0.14.12
|
||||||
|
|
||||||
|
* Sat Aug 17 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.11-1
|
||||||
|
- 0.14.11
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.9-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Mar 21 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.9-1
|
||||||
|
- 0.14.9
|
||||||
|
|
||||||
|
* Wed Feb 27 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.8-1
|
||||||
|
- 0.14.8
|
||||||
|
|
||||||
|
* Tue Feb 26 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.7-3
|
||||||
|
- Some cleanup
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.7-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 29 2019 Vít Ondruch <vondruch@redhat.com>
|
||||||
|
- Enable test suite.
|
||||||
|
|
||||||
|
* Tue Jan 29 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.7-1
|
||||||
|
- 0.14.7
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.6-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 2 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.6-1
|
||||||
|
- 0.14.6
|
||||||
|
|
||||||
|
* Fri Apr 6 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.5-1
|
||||||
|
- 0.14.5
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Dec 31 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.3-1
|
||||||
|
- 0.14.3
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 2 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.2-1
|
||||||
|
- 0.14.2
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 15 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.6.2-1
|
||||||
|
- 0.6.2
|
||||||
|
|
||||||
|
* Mon Sep 1 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.6.1-1
|
||||||
|
- 0.6.1
|
||||||
|
|
||||||
|
* Wed Aug 13 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.6.0-1
|
||||||
|
- 0.6.0
|
||||||
|
|
||||||
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed May 14 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.4-1
|
||||||
|
- 0.5.4
|
||||||
|
|
||||||
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Apr 22 2013 Josef Stribny <jstribny@redhat.com> - 0.5.2-1
|
||||||
|
- Update to aruba 0.5.2
|
||||||
|
|
||||||
* Sat Feb 23 2013 Vít Ondruch <vondruch@redhat.com> - 0.4.11-6
|
* Sat Feb 23 2013 Vít Ondruch <vondruch@redhat.com> - 0.4.11-6
|
||||||
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
||||||
|
|
||||||
|
|
|
||||||
3
sources
3
sources
|
|
@ -1 +1,2 @@
|
||||||
011fbe6cf90c0d66db10f46dfc161cc1 aruba-0.4.11.gem
|
SHA512 (aruba-2.3.3.gem) = 4892651a703d0b2badf15a7f45e461ab1478e53d290fc39e7b0a3fa2a4c4830754bdcabddb38ba3e161bd34071da85aad4f56ccaea5ff8b37a5d74ae1e7ca8c2
|
||||||
|
SHA512 (rubygem-aruba-2.3.3-testsuite.tar.gz) = a2aa74d9c920dbc3b9709358f5e219886e54f92b85b34de15bd9614308dccd48a3f97bed2f286e8e4dc520259e63063d167a74d72ed70a0635cb8c7348ccb175
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue