diff options
author | Christian Kampka <christian@kampka.net> | 2015-10-25 16:16:43 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-04 09:49:39 +0000 |
commit | 60ca35b3adaa83b22841f439e357fff8ba9e50ba (patch) | |
tree | 522324b2b54ee978dd582ef02ac24e6459509200 /testing/roundup/roundup-avoid-bash-syntax-in-tests.patch | |
parent | 892fd714dfd54eeddd48b20c339c9350cc84cdb3 (diff) | |
download | aports-60ca35b3adaa83b22841f439e357fff8ba9e50ba.tar.bz2 aports-60ca35b3adaa83b22841f439e357fff8ba9e50ba.tar.xz |
testing/roundup: new aport
Diffstat (limited to 'testing/roundup/roundup-avoid-bash-syntax-in-tests.patch')
-rw-r--r-- | testing/roundup/roundup-avoid-bash-syntax-in-tests.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/roundup/roundup-avoid-bash-syntax-in-tests.patch b/testing/roundup/roundup-avoid-bash-syntax-in-tests.patch new file mode 100644 index 0000000000..ecd2f076ea --- /dev/null +++ b/testing/roundup/roundup-avoid-bash-syntax-in-tests.patch @@ -0,0 +1,17 @@ +diff --git a/roundup-5-test.sh b/roundup-5-test.sh +index 250a586..8e8739a 100644 +--- a/roundup-5-test.sh ++++ b/roundup-5-test.sh +@@ -87,10 +87,10 @@ it_runs_after_if_a_test_fails_part_2() { + + # Output the correct return code of a failing command of a testcase. + it_outputs_the_return_code_7() { +- function f() { return 42; } ++ f() { return 42; } + x=$(echo asdf) + +- function g() { return 7; } ++ g() { return 7; } + g + } + |