Project

General

Profile

action #133319 » t02_test_assert_script_run.pm

qwetwe, 2023-07-25 15:50

 
use base 'basetest';
use strict;
use testapi;
use altutils;
use sudo;
use tty_console;
use virtual_console;
use x11_console;
use lockapi;
use mmapi;

sub run {
check_boot;
select_root_virtual_terminal;
assert_script_run('echo "тест" > test');
assert_script_run('echo "тест" > тест');
assert_script_run('cat test');
assert_script_run('cat тест');
wait_serial('тест');
virtual_terminal_reboot;
}

sub test_flags {
return {fatal => 1};
}

1;
(2-2/3)