summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-04-09 02:28:34 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-04-09 17:57:15 +0200
commit6e8c0884729eedbf4fc66414b67300d505ac17bb (patch)
tree47b22898a18b6b3b12e223b686db0d955d1b7e1d /tests
parent71f76a1f42958ca6dca26669daf41a568d694c18 (diff)
cosmetic: osmo_fsm_inst_update_id(): don't log "allocate"
On erratic id in osmo_fsm_inst_update_id(), don't say "Attempting to allocate FSM instance". Escape the invalid id using osmo_quote_str(). Change-Id: I770fc460de21faa42b403f694e853e8da01c4bef
Diffstat (limited to 'tests')
-rw-r--r--tests/fsm/fsm_test.err4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fsm/fsm_test.err b/tests/fsm/fsm_test.err
index c4ee46f9..3e01d48b 100644
--- a/tests/fsm/fsm_test.err
+++ b/tests/fsm/fsm_test.err
@@ -38,12 +38,12 @@ osmo_fsm_inst_update_id("arbitrary_id")
osmo_fsm_inst_find_by_name("Test_FSM(arbitrary_id)") == fi
osmo_fsm_inst_find_by_id("arbitrary_id") == fi
osmo_fsm_inst_update_id("")
-Attempting to allocate FSM instance of type 'Test_FSM' with illegal identifier ''
+Attempting to set illegal id for FSM instance of type 'Test_FSM': ""
 rc == -22, ok
osmo_fsm_inst_name() == "Test_FSM(arbitrary_id)"
osmo_fsm_inst_find_by_name("Test_FSM(arbitrary_id)") == fi
osmo_fsm_inst_update_id("invalid.id")
-Attempting to allocate FSM instance of type 'Test_FSM' with illegal identifier 'invalid.id'
+Attempting to set illegal id for FSM instance of type 'Test_FSM': "invalid.id"
 rc == -22, ok
osmo_fsm_inst_name() == "Test_FSM(arbitrary_id)"
osmo_fsm_inst_find_by_name("Test_FSM(arbitrary_id)") == fi