3 . "${EVENTSCRIPTS_TESTS_DIR}/common.sh"
5 define_test "error - add same IP twice"
9 public_address=$(ctdb_get_1_public_address)
11 # This is a bit gross and contrived. The method of quoting the error
12 # message so it makes it to required_result() is horrible. Hopefully
13 # improvements will come.
16 RTNETLINK answers: File exists
17 Failed to add 10.0.0.1/24 on dev dev123"
19 #EVENTSCRIPTS_TESTS_TRACE="sh -x"
20 iterate_test -- $public_address -- 2 "ok_null" \
21 2 'required_result 1 "$err2"'