Whamcloud - gitweb
LU-12761: tests: make version_code() accept two number versions too 75/36275/7
authorOleg Drokin <green@whamcloud.com>
Mon, 23 Sep 2019 12:39:48 +0000 (08:39 -0400)
committerOleg Drokin <green@whamcloud.com>
Sun, 1 Mar 2020 05:35:35 +0000 (05:35 +0000)
commit6521dda6f4377c9c688ce4905cd94adf9f99013f
tree76c059fdc575b7799af588e2be752bf37a37a4f7
parentcce9699b1ae128ac2874516b8f9ee85b5ac3fbc6
LU-12761: tests: make version_code() accept two number versions too

There's now a user in sanity test 103a that calls version_code with
2.6.  Andreas rightfully points instead of fixing the caller we can
just update the code to accept this usage.

Change-Id: I5915cd08a36946c6d26f2e231aa7a820a3eef46a
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36275
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
lustre/tests/test-framework.sh