Skip to content
Snippets Groups Projects
  • kiilerix's avatar
    ea7ad8c3
    tests: handle .t files without trailing LF · ea7ad8c3
    kiilerix authored
    9a2de8dae27b made this simple test-test.t succeed silently:
      $ printf '  $ true' > test-test.t
    but did not give a usable .err in this case:
      $ printf '  $ false' > test-test.t
    
    The missing LF will now be fixed in the test output and it will thus give a
    test failure and a solution in the .err file.
    ea7ad8c3
    History
    tests: handle .t files without trailing LF
    kiilerix authored
    9a2de8dae27b made this simple test-test.t succeed silently:
      $ printf '  $ true' > test-test.t
    but did not give a usable .err in this case:
      $ printf '  $ false' > test-test.t
    
    The missing LF will now be fixed in the test output and it will thus give a
    test failure and a solution in the .err file.