path: root/tests/bugs/write-behind/issue-884.t
diff options
authorSunny Kumar <>2020-03-26 10:46:16 +0000
committerKotresh HR <>2020-04-03 07:16:58 +0000
commita7d7ec066e56ac03bf252c26beb20fdc2c3b6772 (patch)
tree3c1c8d60ee6e221b2daf1d7eb059ab139ce55257 /tests/bugs/write-behind/issue-884.t
parent80dd8cceab3b860bf1bc2945c8e2d8d0b3913e48 (diff)
snap_scheduler: python3 compatibility and new test case
Problem: " init" command failing with the below traceback: [root@dhcp43-104 ~]# init Traceback (most recent call last): File "/usr/sbin/", line 941, in <module> sys.exit(main(sys.argv[1:])) File "/usr/sbin/", line 851, in main initLogger() File "/usr/sbin/", line 153, in initLogger logfile = os.path.join([:-1], SCRIPT_NAME + ".log") File "/usr/lib64/python3.6/", line 94, in join genericpath._check_arg_types('join', a, *p) File "/usr/lib64/python3.6/", line 151, in _check_arg_types raise TypeError("Can't mix strings and bytes in path components") from None TypeError: Can't mix strings and bytes in path components Solution: Added the 'universal_newlines' flag to Popen to support backward compatibility. Added a basic test for snapshot scheduler. Change-Id: I78e8fabd866fd96638747ecd21d292f5ca074a4e Fixes: #1134 Signed-off-by: Sunny Kumar <>
Diffstat (limited to 'tests/bugs/write-behind/issue-884.t')
0 files changed, 0 insertions, 0 deletions