]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
we don't have a real encoder / decoder for ethernet
authorAlan T. DeKok <aland@freeradius.org>
Sun, 10 Nov 2019 22:19:49 +0000 (17:19 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 10 Nov 2019 22:21:08 +0000 (17:21 -0500)
the entire API has changed, as the old one didn't really work.
So until we redo the ethernet test points, we'll just comment them out

src/tests/unit/protocols/ethernet/base.txt [deleted file]
src/tests/unit/protocols/ethernet/base.txt.broken [new file with mode: 0644]

diff --git a/src/tests/unit/protocols/ethernet/base.txt b/src/tests/unit/protocols/ethernet/base.txt
deleted file mode 100644 (file)
index c6f48b6..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-#  Tests for the ethernet encoder/decoder
-#
-proto ethernet
-
-encode-proto.libfreeradius_ethernet Ethernet-Src-Address = 0x010203040506, Ethernet-Dst-Address = 0x060504030201
-# data 06 04 05 04 03 02 01 01 02 03 04 05 06 00 00
-
-count
-match 2
diff --git a/src/tests/unit/protocols/ethernet/base.txt.broken b/src/tests/unit/protocols/ethernet/base.txt.broken
new file mode 100644 (file)
index 0000000..aeed443
--- /dev/null
@@ -0,0 +1,10 @@
+#
+#  Tests for the ethernet encoder/decoder
+#
+proto ethernet
+
+# encode-proto.libfreeradius_ethernet Ethernet-Src-Address = 0x010203040506, Ethernet-Dst-Address = 0x060504030201
+# match 06 04 05 04 03 02 01 01 02 03 04 05 06 00 00
+
+count
+match 1