Skip to content

Commit

Permalink
fix(test-<exercise>): ensure correct passing of multiple arguments (#136
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ajborla authored Aug 1, 2024
1 parent 6c4725d commit d755091
Show file tree
Hide file tree
Showing 65 changed files with 65 additions and 65 deletions.
2 changes: 1 addition & 1 deletion exercises/practice/accumulate/test-accumulate
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../accumulate-check ../accumulate ../accumulate-toplevel accumulate-funcs ; else ./runt "$@" ../accumulate-check ../accumulate ../accumulate-toplevel accumulate-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../accumulate-check ../accumulate ../accumulate-toplevel accumulate-funcs ; else ./runt $@ ../accumulate-check ../accumulate ../accumulate-toplevel accumulate-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/acronym/test-acronym
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../acronym-check ../acronym ../acronym-toplevel acronym-funcs ; else ./runt "$@" ../acronym-check ../acronym ../acronym-toplevel acronym-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../acronym-check ../acronym ../acronym-toplevel acronym-funcs ; else ./runt $@ ../acronym-check ../acronym ../acronym-toplevel acronym-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/all-your-base/test-all-your-base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../all-your-base-check ../all-your-base ../all-your-base-toplevel all-your-base-funcs ; else ./runt "$@" ../all-your-base-check ../all-your-base ../all-your-base-toplevel all-your-base-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../all-your-base-check ../all-your-base ../all-your-base-toplevel all-your-base-funcs ; else ./runt $@ ../all-your-base-check ../all-your-base ../all-your-base-toplevel all-your-base-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/anagram/test-anagram
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../anagram-check ../anagram ../anagram-toplevel anagram-funcs ; else ./runt "$@" ../anagram-check ../anagram ../anagram-toplevel anagram-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../anagram-check ../anagram ../anagram-toplevel anagram-funcs ; else ./runt $@ ../anagram-check ../anagram ../anagram-toplevel anagram-funcs ; fi
cd - 2>&1 >/dev/null
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../armstrong-numbers-check ../armstrong-numbers ../armstrong-numbers-toplevel armstrong-numbers-funcs ; else ./runt "$@" ../armstrong-numbers-check ../armstrong-numbers ../armstrong-numbers-toplevel armstrong-numbers-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../armstrong-numbers-check ../armstrong-numbers ../armstrong-numbers-toplevel armstrong-numbers-funcs ; else ./runt $@ ../armstrong-numbers-check ../armstrong-numbers ../armstrong-numbers-toplevel armstrong-numbers-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/atbash-cipher/test-atbash-cipher
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../atbash-cipher-check ../atbash-cipher ../atbash-cipher-toplevel atbash-cipher-funcs ; else ./runt "$@" ../atbash-cipher-check ../atbash-cipher ../atbash-cipher-toplevel atbash-cipher-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../atbash-cipher-check ../atbash-cipher ../atbash-cipher-toplevel atbash-cipher-funcs ; else ./runt $@ ../atbash-cipher-check ../atbash-cipher ../atbash-cipher-toplevel atbash-cipher-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/bank-account/test-bank-account
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../bank-account-check ../bank-account ../bank-account-toplevel bank-account-funcs ; else ./runt "$@" ../bank-account-check ../bank-account ../bank-account-toplevel bank-account-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../bank-account-check ../bank-account ../bank-account-toplevel bank-account-funcs ; else ./runt $@ ../bank-account-check ../bank-account ../bank-account-toplevel bank-account-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/beer-song/test-beer-song
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../beer-song-check ../beer-song ../beer-song-toplevel beer-song-funcs ; else ./runt "$@" ../beer-song-check ../beer-song ../beer-song-toplevel beer-song-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../beer-song-check ../beer-song ../beer-song-toplevel beer-song-funcs ; else ./runt $@ ../beer-song-check ../beer-song ../beer-song-toplevel beer-song-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/binary-search/test-binary-search
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../binary-search-check ../binary-search ../binary-search-toplevel binary-search-funcs ; else ./runt "$@" ../binary-search-check ../binary-search ../binary-search-toplevel binary-search-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../binary-search-check ../binary-search ../binary-search-toplevel binary-search-funcs ; else ./runt $@ ../binary-search-check ../binary-search ../binary-search-toplevel binary-search-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/bob/test-bob
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../bob-check ../bob ../bob-toplevel bob-funcs ; else ./runt "$@" ../bob-check ../bob ../bob-toplevel bob-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../bob-check ../bob ../bob-toplevel bob-funcs ; else ./runt $@ ../bob-check ../bob ../bob-toplevel bob-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/clock/test-clock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../clock-check ../clock ../clock-toplevel clock-funcs ; else ./runt "$@" ../clock-check ../clock ../clock-toplevel clock-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../clock-check ../clock ../clock-toplevel clock-funcs ; else ./runt $@ ../clock-check ../clock ../clock-toplevel clock-funcs ; fi
cd - 2>&1 >/dev/null
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../collatz-conjecture-check ../collatz-conjecture ../collatz-conjecture-toplevel collatz-conjecture-funcs ; else ./runt "$@" ../collatz-conjecture-check ../collatz-conjecture ../collatz-conjecture-toplevel collatz-conjecture-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../collatz-conjecture-check ../collatz-conjecture ../collatz-conjecture-toplevel collatz-conjecture-funcs ; else ./runt $@ ../collatz-conjecture-check ../collatz-conjecture ../collatz-conjecture-toplevel collatz-conjecture-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/custom-set/test-custom-set
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../custom-set-check ../custom-set ../custom-set-toplevel custom-set-funcs ; else ./runt "$@" ../custom-set-check ../custom-set ../custom-set-toplevel custom-set-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../custom-set-check ../custom-set ../custom-set-toplevel custom-set-funcs ; else ./runt $@ ../custom-set-check ../custom-set ../custom-set-toplevel custom-set-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/darts/test-darts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../darts-check ../darts ../darts-toplevel darts-funcs ; else ./runt "$@" ../darts-check ../darts ../darts-toplevel darts-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../darts-check ../darts ../darts-toplevel darts-funcs ; else ./runt $@ ../darts-check ../darts ../darts-toplevel darts-funcs ; fi
cd - 2>&1 >/dev/null
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../difference-of-squares-check ../difference-of-squares ../difference-of-squares-toplevel difference-of-squares-funcs ; else ./runt "$@" ../difference-of-squares-check ../difference-of-squares ../difference-of-squares-toplevel difference-of-squares-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../difference-of-squares-check ../difference-of-squares ../difference-of-squares-toplevel difference-of-squares-funcs ; else ./runt $@ ../difference-of-squares-check ../difference-of-squares ../difference-of-squares-toplevel difference-of-squares-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/error-handling/test-error-handling
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../error-handling-check ../error-handling ../error-handling-toplevel error-handling-funcs ; else ./runt "$@" ../error-handling-check ../error-handling ../error-handling-toplevel error-handling-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../error-handling-check ../error-handling ../error-handling-toplevel error-handling-funcs ; else ./runt $@ ../error-handling-check ../error-handling ../error-handling-toplevel error-handling-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/etl/test-etl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../etl-check ../etl ../etl-toplevel etl-funcs ; else ./runt "$@" ../etl-check ../etl ../etl-toplevel etl-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../etl-check ../etl ../etl-toplevel etl-funcs ; else ./runt $@ ../etl-check ../etl ../etl-toplevel etl-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/gigasecond/test-gigasecond
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../gigasecond-check ../gigasecond ../gigasecond-toplevel gigasecond-funcs ; else ./runt "$@" ../gigasecond-check ../gigasecond ../gigasecond-toplevel gigasecond-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../gigasecond-check ../gigasecond ../gigasecond-toplevel gigasecond-funcs ; else ./runt $@ ../gigasecond-check ../gigasecond ../gigasecond-toplevel gigasecond-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/grade-school/test-grade-school
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../grade-school-check ../grade-school ../grade-school-toplevel grade-school-funcs ; else ./runt "$@" ../grade-school-check ../grade-school ../grade-school-toplevel grade-school-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../grade-school-check ../grade-school ../grade-school-toplevel grade-school-funcs ; else ./runt $@ ../grade-school-check ../grade-school ../grade-school-toplevel grade-school-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/grains/test-grains
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../grains-check ../grains ../grains-toplevel grains-funcs ; else ./runt "$@" ../grains-check ../grains ../grains-toplevel grains-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../grains-check ../grains ../grains-toplevel grains-funcs ; else ./runt $@ ../grains-check ../grains ../grains-toplevel grains-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/hamming/test-hamming
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../hamming-check ../hamming ../hamming-toplevel hamming-funcs ; else ./runt "$@" ../hamming-check ../hamming ../hamming-toplevel hamming-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../hamming-check ../hamming ../hamming-toplevel hamming-funcs ; else ./runt $@ ../hamming-check ../hamming ../hamming-toplevel hamming-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/hello-world/test-hello-world
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../hello-world-check ../hello-world ../hello-world-toplevel hello-world-funcs ; else ./runt "$@" ../hello-world-check ../hello-world ../hello-world-toplevel hello-world-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../hello-world-check ../hello-world ../hello-world-toplevel hello-world-funcs ; else ./runt $@ ../hello-world-check ../hello-world ../hello-world-toplevel hello-world-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/high-scores/test-high-scores
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../high-scores-check ../high-scores ../high-scores-toplevel high-scores-funcs ; else ./runt "$@" ../high-scores-check ../high-scores ../high-scores-toplevel high-scores-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../high-scores-check ../high-scores ../high-scores-toplevel high-scores-funcs ; else ./runt $@ ../high-scores-check ../high-scores ../high-scores-toplevel high-scores-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/house/test-house
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../house-check ../house ../house-toplevel house-funcs ; else ./runt "$@" ../house-check ../house ../house-toplevel house-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../house-check ../house ../house-toplevel house-funcs ; else ./runt $@ ../house-check ../house ../house-toplevel house-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/isbn-verifier/test-isbn-verifier
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../isbn-verifier-check ../isbn-verifier ../isbn-verifier-toplevel isbn-verifier-funcs ; else ./runt "$@" ../isbn-verifier-check ../isbn-verifier ../isbn-verifier-toplevel isbn-verifier-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../isbn-verifier-check ../isbn-verifier ../isbn-verifier-toplevel isbn-verifier-funcs ; else ./runt $@ ../isbn-verifier-check ../isbn-verifier ../isbn-verifier-toplevel isbn-verifier-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/isogram/test-isogram
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../isogram-check ../isogram ../isogram-toplevel isogram-funcs ; else ./runt "$@" ../isogram-check ../isogram ../isogram-toplevel isogram-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../isogram-check ../isogram ../isogram-toplevel isogram-funcs ; else ./runt $@ ../isogram-check ../isogram ../isogram-toplevel isogram-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/leap/test-leap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../leap-check ../leap ../leap-toplevel leap-funcs ; else ./runt "$@" ../leap-check ../leap ../leap-toplevel leap-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../leap-check ../leap ../leap-toplevel leap-funcs ; else ./runt $@ ../leap-check ../leap ../leap-toplevel leap-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/list-ops/test-list-ops
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../list-ops-check ../list-ops ../list-ops-toplevel list-ops-funcs ; else ./runt "$@" ../list-ops-check ../list-ops ../list-ops-toplevel list-ops-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../list-ops-check ../list-ops ../list-ops-toplevel list-ops-funcs ; else ./runt $@ ../list-ops-check ../list-ops ../list-ops-toplevel list-ops-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/luhn/test-luhn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../luhn-check ../luhn ../luhn-toplevel luhn-funcs ; else ./runt "$@" ../luhn-check ../luhn ../luhn-toplevel luhn-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../luhn-check ../luhn ../luhn-toplevel luhn-funcs ; else ./runt $@ ../luhn-check ../luhn ../luhn-toplevel luhn-funcs ; fi
cd - 2>&1 >/dev/null
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../matching-brackets-check ../matching-brackets ../matching-brackets-toplevel matching-brackets-funcs ; else ./runt "$@" ../matching-brackets-check ../matching-brackets ../matching-brackets-toplevel matching-brackets-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../matching-brackets-check ../matching-brackets ../matching-brackets-toplevel matching-brackets-funcs ; else ./runt $@ ../matching-brackets-check ../matching-brackets ../matching-brackets-toplevel matching-brackets-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/matrix/test-matrix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../matrix-check ../matrix ../matrix-toplevel matrix-funcs ; else ./runt "$@" ../matrix-check ../matrix ../matrix-toplevel matrix-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../matrix-check ../matrix ../matrix-toplevel matrix-funcs ; else ./runt $@ ../matrix-check ../matrix ../matrix-toplevel matrix-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/nth-prime/test-nth-prime
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../nth-prime-check ../nth-prime ../nth-prime-toplevel nth-prime-funcs ; else ./runt "$@" ../nth-prime-check ../nth-prime ../nth-prime-toplevel nth-prime-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../nth-prime-check ../nth-prime ../nth-prime-toplevel nth-prime-funcs ; else ./runt $@ ../nth-prime-check ../nth-prime ../nth-prime-toplevel nth-prime-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/nucleotide-count/test-nucleotide-count
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../nucleotide-count-check ../nucleotide-count ../nucleotide-count-toplevel nucleotide-count-funcs ; else ./runt "$@" ../nucleotide-count-check ../nucleotide-count ../nucleotide-count-toplevel nucleotide-count-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../nucleotide-count-check ../nucleotide-count ../nucleotide-count-toplevel nucleotide-count-funcs ; else ./runt $@ ../nucleotide-count-check ../nucleotide-count ../nucleotide-count-toplevel nucleotide-count-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/ocr-numbers/test-ocr-numbers
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../ocr-numbers-check ../ocr-numbers ../ocr-numbers-toplevel ocr-numbers-funcs ; else ./runt "$@" ../ocr-numbers-check ../ocr-numbers ../ocr-numbers-toplevel ocr-numbers-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../ocr-numbers-check ../ocr-numbers ../ocr-numbers-toplevel ocr-numbers-funcs ; else ./runt $@ ../ocr-numbers-check ../ocr-numbers ../ocr-numbers-toplevel ocr-numbers-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/pangram/test-pangram
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../pangram-check ../pangram ../pangram-toplevel pangram-funcs ; else ./runt "$@" ../pangram-check ../pangram ../pangram-toplevel pangram-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../pangram-check ../pangram ../pangram-toplevel pangram-funcs ; else ./runt $@ ../pangram-check ../pangram ../pangram-toplevel pangram-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/perfect-numbers/test-perfect-numbers
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../perfect-numbers-check ../perfect-numbers ../perfect-numbers-toplevel perfect-numbers-funcs ; else ./runt "$@" ../perfect-numbers-check ../perfect-numbers ../perfect-numbers-toplevel perfect-numbers-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../perfect-numbers-check ../perfect-numbers ../perfect-numbers-toplevel perfect-numbers-funcs ; else ./runt $@ ../perfect-numbers-check ../perfect-numbers ../perfect-numbers-toplevel perfect-numbers-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/phone-number/test-phone-number
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../phone-number-check ../phone-number ../phone-number-toplevel phone-number-funcs ; else ./runt "$@" ../phone-number-check ../phone-number ../phone-number-toplevel phone-number-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../phone-number-check ../phone-number ../phone-number-toplevel phone-number-funcs ; else ./runt $@ ../phone-number-check ../phone-number ../phone-number-toplevel phone-number-funcs ; fi
cd - 2>&1 >/dev/null
2 changes: 1 addition & 1 deletion exercises/practice/prime-factors/test-prime-factors
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../prime-factors-check ../prime-factors ../prime-factors-toplevel prime-factors-funcs ; else ./runt "$@" ../prime-factors-check ../prime-factors ../prime-factors-toplevel prime-factors-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../prime-factors-check ../prime-factors ../prime-factors-toplevel prime-factors-funcs ; else ./runt $@ ../prime-factors-check ../prime-factors ../prime-factors-toplevel prime-factors-funcs ; fi
cd - 2>&1 >/dev/null
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd "testlib" 2>&1 >/dev/null
if [ $# -eq 0 ] ; then ./runt --regina ../protein-translation-check ../protein-translation ../protein-translation-toplevel protein-translation-funcs ; else ./runt "$@" ../protein-translation-check ../protein-translation ../protein-translation-toplevel protein-translation-funcs ; fi
if [ $# -eq 0 ] ; then ./runt --regina ../protein-translation-check ../protein-translation ../protein-translation-toplevel protein-translation-funcs ; else ./runt $@ ../protein-translation-check ../protein-translation ../protein-translation-toplevel protein-translation-funcs ; fi
cd - 2>&1 >/dev/null
Loading

0 comments on commit d755091

Please sign in to comment.