ctrl_test.c: replace print_escaped() with new osmo_escape_str()
Change-Id: I12d3828dcc925f97fde11c360f1d60f3bd8cad8b
diff --git a/tests/ctrl/ctrl_test.ok b/tests/ctrl/ctrl_test.ok
index 9c8877b..5775eb2 100644
--- a/tests/ctrl/ctrl_test.ok
+++ b/tests/ctrl/ctrl_test.ok
@@ -10,102 +10,102 @@
test parsing: 'GET 1 variable'
id = '1'
variable = 'variable'
-value = NULL
-reply = NULL
+value = '(null)'
+reply = '(null)'
ok
test parsing: 'GET 1 variable\n'
id = '1'
variable = 'variable\n'
-value = NULL
-reply = NULL
+value = '(null)'
+reply = '(null)'
ok
test parsing: 'GET 1 var\ni\nable'
id = '1'
variable = 'var\ni\nable'
-value = NULL
-reply = NULL
+value = '(null)'
+reply = '(null)'
ok
test parsing: 'GET 1 variable value'
id = '1'
variable = 'variable'
-value = NULL
-reply = NULL
+value = '(null)'
+reply = '(null)'
ok
test parsing: 'GET 1 variable value\n'
id = '1'
variable = 'variable'
-value = NULL
-reply = NULL
+value = '(null)'
+reply = '(null)'
ok
test parsing: 'GET 1 variable multiple value tokens'
id = '1'
variable = 'variable'
-value = NULL
-reply = NULL
+value = '(null)'
+reply = '(null)'
ok
test parsing: 'GET 1 variable multiple value tokens\n'
id = '1'
variable = 'variable'
-value = NULL
-reply = NULL
+value = '(null)'
+reply = '(null)'
ok
test parsing: 'SET 1 variable value'
id = '1'
variable = 'variable'
value = 'value'
-reply = NULL
+reply = '(null)'
ok
test parsing: 'SET 1 variable value\n'
id = '1'
variable = 'variable'
value = 'value'
-reply = NULL
+reply = '(null)'
ok
test parsing: 'SET weird_id variable value'
id = 'weird_id'
variable = 'variable'
value = 'value'
-reply = NULL
+reply = '(null)'
ok
test parsing: 'SET weird_id variable value\n'
id = 'weird_id'
variable = 'variable'
value = 'value'
-reply = NULL
+reply = '(null)'
ok
test parsing: 'SET 1 variable multiple value tokens'
id = '1'
variable = 'variable'
value = 'multiple value tokens'
-reply = NULL
+reply = '(null)'
ok
test parsing: 'SET 1 variable multiple value tokens\n'
id = '1'
variable = 'variable'
value = 'multiple value tokens'
-reply = NULL
+reply = '(null)'
ok
test parsing: 'SET 1 variable value_with_trailing_spaces '
id = '1'
variable = 'variable'
value = 'value_with_trailing_spaces '
-reply = NULL
+reply = '(null)'
ok
test parsing: 'SET 1 variable value_with_trailing_spaces \n'
id = '1'
variable = 'variable'
value = 'value_with_trailing_spaces '
-reply = NULL
+reply = '(null)'
ok
test parsing: 'SET \n special_char_id value'
id = '\n'
variable = 'special_char_id'
value = 'value'
-reply = NULL
+reply = '(null)'
ok
test parsing: 'SET \t special_char_id value'
id = '\t'
variable = 'special_char_id'
value = 'value'
-reply = NULL
+reply = '(null)'
ok