<NME> README.md
<BEF> ADDFILE
<MSG> Rewrite and rename README as README.md in tests/

<DFF> @@ -0,0 +1,27 @@
+# License
+Test programs of this directory are provided under BSD license (see associated
+LICENSE file).
+
+# Compilation
+After installation, you can use pkg-config to compile these tests.
+For example, to compile random-test-server run:
+
+gcc random-test-server.c -o random-test-server `pkg-config --libs --cflags libmodbus`
+
+- `random-test-server` is necessary to launch a server before running
+random-test-client. By default, it receives and replies to Modbus query on the
+localhost and port 1502.
+
+- `random-test-client` sends many different queries to a large range of
+addresses and values to test the communication between the client and the
+server.
+
+- `unit-test-server` and `unit-test-client` run a full unit test suite. These
+programs are essential to test the Modbus protocol implementation and libmodbus
+behavior.
+
+- `bandwidth-server-one`, `bandwidth-server-many-up` and `bandwidth-client`
+ return very useful information about the performance of transfert rate between
+ the server and the client. `bandwidth-server-one` can only handles one
+ connection at once with a client whereas `bandwidth-server-many-up` opens a
+ connection for each new clients (with a limit).

{'commit': "diff --git a/tests/Makefile.am b/tests/Makefile.am\nindex 184d3e6..38fa21c 100644\n--- a/tests/Makefile.am\n+++ b/tests/Makefile.am\n@@ -1,4 +1,4 @@\n-EXTRA_DIST = README unit-tests.sh\n+EXTRA_DIST = README.md unit-tests.sh\n \n noinst_PROGRAMS = \\\n \tbandwidth-server-one \\\ndiff --git a/tests/README b/tests/README\ndeleted file mode 100644\nindex 04d192b..0000000\n--- a/tests/README\n+++ /dev/null\n@@ -1,42 +0,0 @@\n-License\n--------\n-Test programs of this directory are provided under BSD license (see associated\n-LICENSE file).\n-\n-Compilation\n------------\n-After installation, you can use pkg-config to compile these tests.\n-For example, to compile random-test-server run:\n-\n-gcc random-test-server.c -o random-test-server `pkg-config --libs --cflags libmodbus`\n-\n-random-test-server\n------------------\n-It's necessary to launch this server before run random-test-client. By\n-default, it receives and responses to Modbus query on the localhost\n-and port 1502.\n-\n-random-test-client\n-------------------\n-This programm sends many different queries to a large range of\n-addresses and values to test the communication between the client and\n-the server.\n-\n-unit-test-server\n-unit-test-client\n-----------------\n-By default, this program sends some queries with the values defined in\n-unit-test.h and checks the responses. These programs are useful to\n-test the protocol implementation.\n-\n-bandwidth-server-one\n-bandwidth-server-many-up\n-bandwidth-client\n------------------------\n-It returns some very useful informations about the performance of\n-transfert rate between the server and the client.\n-\n-- bandwidth-server-one: it can handles only one connection with a client.\n-- bandwidth-server-many-up: it opens a connection each time a new client asks\n-  for, but the number of connection is limited. The same server process handles\n-  all the connections.\ndiff --git a/tests/README.md b/tests/README.md\nnew file mode 100644\nindex 0000000..810dc8c\n--- /dev/null\n+++ b/tests/README.md\n@@ -0,0 +1,27 @@\n+# License\n+Test programs of this directory are provided under BSD license (see associated\n+LICENSE file).\n+\n+# Compilation\n+After installation, you can use pkg-config to compile these tests.\n+For example, to compile random-test-server run:\n+\n+gcc random-test-server.c -o random-test-server `pkg-config --libs --cflags libmodbus`\n+\n+- `random-test-server` is necessary to launch a server before running\n+random-test-client. By default, it receives and replies to Modbus query on the\n+localhost and port 1502.\n+\n+- `random-test-client` sends many different queries to a large range of\n+addresses and values to test the communication between the client and the\n+server.\n+\n+- `unit-test-server` and `unit-test-client` run a full unit test suite. These\n+programs are essential to test the Modbus protocol implementation and libmodbus\n+behavior.\n+\n+- `bandwidth-server-one`, `bandwidth-server-many-up` and `bandwidth-client`\n+ return very useful information about the performance of transfert rate between\n+ the server and the client. `bandwidth-server-one` can only handles one\n+ connection at once with a client whereas `bandwidth-server-many-up` opens a\n+ connection for each new clients (with a limit).\n", 'commit_subject': 'Rewrite and rename README as README.md in tests/', 'repo_name': 'stephane/libmodbus', 'committer': {'name': 'Stéphane Raimbault', 'email': 'e6653fe7eaf151c38caf35761f7ffd50c65aa112@gmail.com', 'time_sec': '1463523657', 'tz_offset': '120', 'date': {'seconds': '1463523657'}}, 'commit_tree': 'aea959ee201282be3ef23a223fbcb26fc0b6fdff', 'commit_message': 'Rewrite and rename README as README.md in tests/\n', 'language_name': 'C', 'license': 'lgpl-2.1', 'hunks': '@@ -0,0 +1,27 @@\n+# License\n+Test programs of this directory are provided under BSD license (see associated\n+LICENSE file).\n+\n+# Compilation\n+After installation, you can use pkg-config to compile these tests.\n+For example, to compile random-test-server run:\n+\n+gcc random-test-server.c -o random-test-server `pkg-config --libs --cflags libmodbus`\n+\n+- `random-test-server` is necessary to launch a server before running\n+random-test-client. By default, it receives and replies to Modbus query on the\n+localhost and port 1502.\n+\n+- `random-test-client` sends many different queries to a large range of\n+addresses and values to test the communication between the client and the\n+server.\n+\n+- `unit-test-server` and `unit-test-client` run a full unit test suite. These\n+programs are essential to test the Modbus protocol implementation and libmodbus\n+behavior.\n+\n+- `bandwidth-server-one`, `bandwidth-server-many-up` and `bandwidth-client`\n+ return very useful information about the performance of transfert rate between\n+ the server and the client. `bandwidth-server-one` can only handles one\n+ connection at once with a client whereas `bandwidth-server-many-up` opens a\n+ connection for each new clients (with a limit).\n', 'addition_count': 27, 'deletion_count': 0, 'src_file': '/dev/null', 'tgt_file': 'b/tests/README.md', 'file_extension': '.md', 'before_file': 'ADDFILE', 'message': 'Rewrite and rename README as README.md in tests/\n', 'author_name': 'Stéphane Raimbault', 'lang': 'md'}