[riot-commits] [RIOT-OS/RIOT] 3d6d27: uri_parser: Add test for absolute function

Cenk Gündoğan noreply at github.com
Sun Apr 5 13:42:16 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 3d6d27374ca96bb702cec0ef02e238f80f5958f3
      https://github.com/RIOT-OS/RIOT/commit/3d6d27374ca96bb702cec0ef02e238f80f5958f3
  Author: chrysn <chrysn at fsfe.org>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M tests/unittests/tests-uri_parser/tests-uri_parser.c

  Log Message:
  -----------
  uri_parser: Add test for absolute function

One value in the output is possibly wrong, was left in the passing state
as the rest of the expected state reflects the same misconception, and
commented thusly.


  Commit: 2ec0fee1fa551f1e61f13c82e01749d26cbd3d32
      https://github.com/RIOT-OS/RIOT/commit/2ec0fee1fa551f1e61f13c82e01749d26cbd3d32
  Author: chrysn <chrysn at fsfe.org>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M tests/unittests/tests-uri_parser/tests-uri_parser.c

  Log Message:
  -----------
  uri_parser: Adjust test expectations on relative references with colon

This fixes the contested case, and adds the example of RFC3986 Section
4.2[1] to the should be relative cases.

[1]: https://tools.ietf.org/html/rfc3986#section-4.2


  Commit: 050af956667b234d4e2e594a44371cde541baf95
      https://github.com/RIOT-OS/RIOT/commit/050af956667b234d4e2e594a44371cde541baf95
  Author: chrysn <chrysn at fsfe.org>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M sys/uri_parser/uri_parser.c

  Log Message:
  -----------
  uri_parser: Fix relative recognition

Relative refernces with colons in their names can not be told by their
first character alone.


  Commit: abd399b9343e1b13b0393e978b78e882f86a658c
      https://github.com/RIOT-OS/RIOT/commit/abd399b9343e1b13b0393e978b78e882f86a658c
  Author: Cenk Gündoğan <mail+dev at gundogan.net>
  Date:   2020-04-05 (Sun, 05 Apr 2020)

  Changed paths:
    M sys/uri_parser/uri_parser.c
    M tests/unittests/tests-uri_parser/tests-uri_parser.c

  Log Message:
  -----------
  Merge pull request #13804 from chrysn-pull-requests/uri-test-isabsolute

uri_parser: Fix and test non-relative recognition


Compare: https://github.com/RIOT-OS/RIOT/compare/6e27a8e4a7c5...abd399b9343e


More information about the commits mailing list