summaryrefslogtreecommitdiff
path: root/libusb/version_nano.h
diff options
context:
space:
mode:
authorNathan Hjelm <hjelmn@google.com>2023-02-13 11:04:11 -0700
committerTormod Volden <debian.tormod@gmail.com>2023-03-12 12:47:08 +0100
commit71dd672abe52d7c3a9c61373888a32984f0792a7 (patch)
tree20e40e1ca313ed052ccca7a663360aef4b03b937 /libusb/version_nano.h
parentd2da7f9b1d52e55142775497ca170d9001e72c16 (diff)
downloadlibusb-71dd672abe52d7c3a9c61373888a32984f0792a7.tar.gz
tests: Add unit test for libusb_set_option
The behavior of libusb_set_option was not matching the documentation when the log level was set in the environment. This has been fixed but a regression test is needed to ensure the behavior does not deviate. This commit adds a set of unit tests to cover some of the functionality of libusb_set_option. Closes #1245 Signed-off-by: Nathan Hjelm <hjelmn@google.com> [Xiaofan: Add Windows setenv/unsetenv wrappers] Signed-off-by: Xiaofan Chen <xiaofanc@gmail.com> [Tormod: Fix test_no_discovery() build on Linux, add msvc build] Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to 'libusb/version_nano.h')
-rw-r--r--libusb/version_nano.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 12e1f7b..46cf934 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11785
+#define LIBUSB_NANO 11786