#coding:utf-8 """ ID: issue-7868 ISSUE: https://github.com/FirebirdSQL/firebird/pull/7868 TITLE: SET AUTOTERM ON/OFF. Additional tests. DESCRIPTION: Test verifies several cases which were discussed in https://github.com/FirebirdSQL/firebird/pull/7868 Each script (named as ) is performed several times, depending on values of 'call_mode', 'autot_mode' and 'echo_mode': 1. call_mode = 'via_input' ==> script is saved in .sql which is further called by ISQL with '-input ' and: 1.1) with command switch '-autot' 1.2) without '-autot' but with addiing 'set autoterm;' in this script before ISQL run 2. call_mode = 'using_pipe' ==> script is also saved in .sql and we use PIPE, like 'cat