Go to file
Mingli Yu 6905274d2f 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: Armin Kuster <akuster808@gmail.com>
2021-12-27 14:44:57 -08:00
contrib PEP8 double aggressive W291 ~ W293 and W391 2021-04-17 06:47:18 -07:00
meta-filesystems recipes: Update SRC_URI branch and protocols 2021-11-13 07:45:48 -08:00
meta-gnome recipes: Update SRC_URI branch and protocols 2021-11-13 07:45:48 -08:00
meta-initramfs recipes: Update SRC_URI branch and protocols 2021-11-13 07:45:48 -08:00
meta-multimedia recipes: Update SRC_URI branch and protocols 2021-11-13 07:45:48 -08:00
meta-networking ifenslave: Add branch=main 2021-12-05 11:32:16 -08:00
meta-oe libteam: switch to python3 2021-12-27 14:44:57 -08:00
meta-perl recipes: Update SRC_URI branch and protocols 2021-11-13 07:45:48 -08:00
meta-python recipes: Update SRC_URI branch and protocols 2021-11-13 07:45:48 -08:00
meta-webserver recipes: Update SRC_URI branch and protocols 2021-11-13 07:45:48 -08:00
meta-xfce recipes: Update SRC_URI branch and protocols 2021-11-13 07:45:48 -08:00
.gitignore .gitignore: add *.pyc and *.pyo 2019-06-15 16:45:33 -07:00
COPYING.MIT add README and license for this layer 2011-02-13 16:47:32 +01:00
README README: updated Maintainers list for Hardknott 2021-03-31 07:05:07 -07:00

Collection of layers for the OE-core universe

hardknott maintainer: Armin Kuster  <akuster808@gmail.com>

This repository is a collection of layers to suppliment OE-Core
with additional packages, Each layer have designated maintainer
Please see the respective READMEs in the layer subdirectories