Skip to content
Snippets Groups Projects
  1. Dec 22, 2024
  2. Oct 06, 2024
  3. Sep 06, 2024
  4. Sep 03, 2024
    • Carl Smedstad's avatar
      Fix test output on failure + shellcheck warnings · 009d398f
      Carl Smedstad authored
      Without quotes around $output, test failures will only print the first
      word of the output. I.e. previously, for the erroneous output "I am not
      useful :(", the following would be printed:
      
          Output was:
          I
      
      Instead of:
      
          Output was:
          I am not useful :(
      
      Also, change shebang from /bin/sh to /bin/bash to fix the following
      shellcheck warning:
      
          In tests/ipcalc-testrunner.sh line 32:
            echo -e "Output was:\n$1"
                       ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
      
      And, replace $@ with $* in strings to fix the following shellcheck
      error:
      
          In tests/ipcalc-testrunner.sh line 36:
            echo -n "Checking $@... "
                                    ^-- SC2145 (error): Argument mixes string and array. Use * or separate argument.
      Verified
      009d398f
  5. Dec 28, 2023
  6. Aug 30, 2023
  7. Jun 07, 2023
  8. May 09, 2023
  9. Apr 14, 2023
  10. Nov 27, 2022
  11. Nov 26, 2022
  12. Nov 18, 2022
  13. Nov 16, 2022
  14. Nov 12, 2022
  15. Jun 07, 2021
  16. Jun 06, 2021
  17. Apr 29, 2021
  18. Apr 27, 2021
  19. Mar 05, 2021
  20. Mar 04, 2021
  21. Nov 23, 2020
Loading