Sharp.Augeas/Sharp.Augeas.Test/lens/tests/test_sysconfig_route.aug

16 lines
522 B
Plaintext
Raw Normal View History

2022-11-08 20:57:02 +03:00
(*
Module: Test_Sysconfig_Route
Provides unit tests and examples for the <Sysconfig_Route> lens.
*)
module Test_sysconfig_route =
(* Test: Sysconfig_Route.lns *)
test Sysconfig_Route.lns get "10.40.11.102/32 via 10.40.8.1\n10.1.8.0/24 via 10.40.8.254\n" =
{ "10.40.8.1" = "10.40.11.102/32" }
{ "10.40.8.254" = "10.1.8.0/24" }
(* Test: Sysconfig_Route.lns *)
test Sysconfig_Route.lns get "10.40.11.102/32 via 10.40.8.1\n10.1.8.0/24 via 10.40.8.1\n" =
{ "10.40.8.1" = "10.40.11.102/32" }
{ "10.40.8.1" = "10.1.8.0/24" }