/
githubmirror
/
strace
Обзор
Документация
Войти
/
githubmirror
/
strace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v5.13
tests/poke.test
21 строка
498 B
Elvira Khabirova
tests: check poke injection functionality
07 фев 2021, 10:08
07 фев 2021, 10:08
ec50e52
Код
Авторство
О чём код?
#!/bin/sh -efu # # Check poke injection. # # Copyright (c) 2021 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh" run_prog ../poke "$EXP.err" > /dev/null args="-a10 -e trace=chdir,getcwd \ -einject=chdir:poke_enter=@arg1=3f5354524143453f7374726163653f00 \ -einject=getcwd:poke_exit=@arg1=5374726163652100 \ $args" run_strace $args >"$EXP" 2>"$LOG.err" match_diff "$LOG" "$EXP" match_grep "$LOG.err" "$EXP.err"