Derby
  1. Derby
  2. DERBY-6072

Move lang/reopenScan.sql to LangScripts

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.10.1.1
    • Fix Version/s: 10.10.1.1
    • Component/s: Test
    • Labels:
      None

      Description

      lang/reopenScan.sql currently runs under the old harness. The test has no dependencies on the old harness, and no special setup, so it should be easy to move it to LangScripts and make it run in the new test framework.

      1. d6072-1a.diff
        2 kB
        Knut Anders Hatlen

        Activity

        Hide
        Knut Anders Hatlen added a comment -

        The attached patch makes the following changes:

        • lang/LangScripts.java: add the test to the list of tests to run
        • suites/derbylang.runall: remove the test from the old harness
        • master/reopenScan.out: add whitespace to the canon since the old framework ignores blank lines in the output whereas the new framework doesn't

        LangScripts runs cleanly with the patch. I'll run the full suites.All and derbyall test suites to verify that nothing else breaks.

        Show
        Knut Anders Hatlen added a comment - The attached patch makes the following changes: lang/LangScripts.java: add the test to the list of tests to run suites/derbylang.runall: remove the test from the old harness master/reopenScan.out: add whitespace to the canon since the old framework ignores blank lines in the output whereas the new framework doesn't LangScripts runs cleanly with the patch. I'll run the full suites.All and derbyall test suites to verify that nothing else breaks.
        Hide
        Knut Anders Hatlen added a comment -

        All tests passed with the patch. Committed revision 1446592.

        Show
        Knut Anders Hatlen added a comment - All tests passed with the patch. Committed revision 1446592.

          People

          • Assignee:
            Knut Anders Hatlen
            Reporter:
            Knut Anders Hatlen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development