Skip to content
Snippets Groups Projects
  1. Aug 15, 2022
    • Gleb Kashkin's avatar
      console: remove ERRINJ_STDIN_ISATTY injection · 16d6e9d2
      Gleb Kashkin authored
      As the underlying problem behind this injection is fixed in #7357 it can
      be removed and `-i` flag could be used as initially intended.
      
      Closes #7554
      Requires #7357
      NO_DOC=refactoring
      NO_CHANGELOG=refactoring
      16d6e9d2
  2. May 29, 2021
    • Artem Starshov's avatar
      test: fix flaky tests for -e and iteractive mode · d5bd5d87
      Artem Starshov authored
      Occasionally, test/app-tap/gh-5040-inter-mode-isatty-via-errinj.test.lua
      failed because it used output file with the same name as
      test/app-tap/gh-4983-tnt-e-assert-false-hangs.test.lua and the last one
      didn't remove file after usage.
      
      Added removal of output file to test for 4983 and also changed file names
      to distinguish outputs of these tests better in case of failure.
      
      Fixes tarantool/tarantool-qa#122
      d5bd5d87
  3. Mar 12, 2021
    • Artem Starshov's avatar
      lua: fix tarantool -e always enters interactive mode · 0787483c
      Artem Starshov authored
      The reason why tarantool -e always enters interactive mode is that
      statement after option -e isn't considered as a script.
      
      In man PUC-Rio lua there are different names for statement -e (stat)
      and script, but they have the same behavior regarding interactive
      mode. (Also cases, when interpreter loads stdin, have the same behaviour).
      
      NOTE: test for this code fix uses errinjs, and the last one  should work only
      in debug mode, so added `release_disabled` in suite.ini. But there is a bug in
      test-run: `release_disable` disables tests at each build type. Partially this
      problem is descripted in tarantool/test-run#199.
      
      Fixes #5040
      0787483c
Loading