Files
meta-openembedded/meta-oe/recipes-support
Mingli Yu a12cd7869b libteam: switch to python3
The original fix for team_basic_test.py only change the interpreter
to python3, but still some error as below:
 # ./run-ptest
 File "/usr/lib64/libteam/ptest/./team_basic_test.py", line 35
 print "Usage: team_basic_test.py [OPTION...]"
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

 # ./run-ptest
 RUN #1
 # "ip link add testteamx type team"
 # "teamnl testteamx getoption mode"
 # "ip link del testteamx"
 # "modprobe -r team_mode_loadbalance team_mode_roundrobin team_mode_activebackup team_mode_broadcast team"
 Traceback (most recent call last):
  File "/usr/lib64/libteam/ptest/./team_basic_test.py", line 206, in <module>
    main()
  File "/usr/lib64/libteam/ptest/./team_basic_test.py", line 203, in main
    btest.run()
  File "/usr/lib64/libteam/ptest/./team_basic_test.py", line 180, in run
    self._run_one_loop(i + 1)
  File "/usr/lib64/libteam/ptest/./team_basic_test.py", line 173, in _run_one_loop
    self._run_one_mode(mode_name)
  File "/usr/lib64/libteam/ptest/./team_basic_test.py", line 101, in _run_one_mode
    cmd_exec("teamnl %s getoption mode" % team_name, "*NOMODE*")
  File "/usr/lib64/libteam/ptest/./team_basic_test.py", line 80, in cmd_exec
    raise CmdExecUnexpectedOutputException(output, expected_output)
 __main__.CmdExecUnexpectedOutputException: Command execution output unexpected: "b'*NOMODE*'" != "*NOMODE*"

 So rework team_basic_test.py to fix the above issue.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-02 07:52:17 -08:00
..
2021-08-03 10:21:25 -07:00
2021-10-19 09:23:08 -07:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-09-08 21:29:52 -07:00
2020-10-21 14:11:09 -07:00
2021-08-03 10:21:25 -07:00
2021-09-24 08:12:35 -07:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-05-19 09:17:49 -07:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-11-03 06:57:47 -07:00
2021-08-20 09:26:18 -07:00
2021-08-03 10:21:25 -07:00
2021-09-07 10:03:50 -07:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-08-06 20:38:40 -07:00
2021-08-03 10:21:25 -07:00
2020-02-16 12:52:19 -08:00
2021-02-21 23:44:22 -08:00
2021-08-03 10:21:25 -07:00
2021-03-28 12:12:58 -07:00
2018-11-14 21:06:58 -08:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-11-09 11:23:54 -08:00
2021-08-03 10:21:25 -07:00
2020-12-07 21:55:47 -08:00
2021-08-03 10:21:25 -07:00
2019-06-25 14:21:48 -07:00
2021-12-02 07:52:17 -08:00
2021-10-26 10:38:40 -07:00
2020-02-21 08:50:36 -08:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-09-05 22:19:55 -07:00
2021-09-24 08:12:36 -07:00
2021-10-16 08:25:21 -07:00
2021-08-03 10:21:25 -07:00
2021-11-01 05:45:17 -07:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-04-21 08:27:01 -07:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2019-11-27 20:07:16 -08:00
2021-08-03 10:21:25 -07:00
2017-01-25 15:58:54 +01:00
2019-05-11 23:35:30 -07:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-12-01 22:37:01 -08:00
2020-04-05 10:38:14 -07:00
2021-08-03 10:21:25 -07:00
2021-02-21 23:37:54 -08:00
2021-08-03 10:21:25 -07:00
2019-09-13 09:21:30 -07:00
2020-06-03 15:15:42 -07:00
2021-08-17 08:15:01 -07:00
2021-08-03 10:21:25 -07:00
2021-11-22 10:15:01 -08:00
2021-09-24 08:12:35 -07:00
2021-08-03 10:21:25 -07:00