1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/tests/scripts
Martin Schwenke ce5116cfb3 ctdb-tests: Don't expand octal escapes in unit test output
The echo command in dash expands octal escapes in strings by default
but the echo command in bash doesn't.  Since the behaviour is
ill-defined, use printf to handle affected strings.  However, ensure
that these strings aren't used as format strings.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue Mar 27 09:06:14 CEST 2018 on sn-devel-144
2018-03-27 09:06:14 +02:00
..
common.sh ctdb-tests: Factor out setup of fake CTDB_BASE 2018-03-09 07:08:25 +01:00
integration.bash ctdb-tests: Remove unused function get_ctdbd_command_line_option() 2018-03-19 02:23:19 +01:00
script_install_paths.sh ctdb-tests: Fix name of the variable representing init script 2017-01-16 15:46:42 +01:00
test_wrap ctdb-tests: Fix ctdb test binary name in path testing 2017-09-12 12:23:18 +02:00
unit.sh ctdb-tests: Don't expand octal escapes in unit test output 2018-03-27 09:06:14 +02:00