tweaking utilities in testing directory
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@894 6180dd3e-e324-4e3e-922d-17de1ae2f315
diff --git a/testing/sg_tst_ioctl.c b/testing/sg_tst_ioctl.c
index 0dff9f1..f7a421e 100644
--- a/testing/sg_tst_ioctl.c
+++ b/testing/sg_tst_ioctl.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2018-2020 D. Gilbert
+ * Copyright (C) 2018-2021 D. Gilbert
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
@@ -60,7 +60,7 @@
* later of the Linux sg driver. */
-static const char * version_str = "Version: 1.19 20200825";
+static const char * version_str = "Version: 1.20 20210406";
#define INQ_REPLY_LEN 128
#define INQ_CMD_LEN 6
@@ -1203,7 +1203,7 @@
}
cp = do_fork ? relative_cp : "";
- if (! do_v3_only) {
+ if (! do_v3_only && (sg_drv_ver_num > 40030)) {
if (tst_extended_ioctl(dname, sg_fd, second_fname, sg_fd2, sock,
cp))
goto out;