summaryrefslogtreecommitdiff
path: root/test-cli/test/helpers/int_registers.py
diff options
context:
space:
mode:
authorHector Fernandez <hector@iatec.biz>2020-03-10 17:37:16 +0100
committerHector Fernandez <hector@iatec.biz>2020-03-11 10:15:20 +0100
commit41ffba6a76a80a7ef4553cb8856393dd209d172e (patch)
treef8ad8a10870ff4b489eb35f04eef643191a7a705 /test-cli/test/helpers/int_registers.py
parentd38c92bfd7b6abe3a52b51b87b1a2949b857d9b4 (diff)
downloadboard-41ffba6a76a80a7ef4553cb8856393dd209d172e.zip
board-41ffba6a76a80a7ef4553cb8856393dd209d172e.tar.gz
board-41ffba6a76a80a7ef4553cb8856393dd209d172e.tar.bz2
First release of the test. All the tests work correctly for SOPA0000.
Diffstat (limited to 'test-cli/test/helpers/int_registers.py')
-rw-r--r--test-cli/test/helpers/int_registers.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test-cli/test/helpers/int_registers.py b/test-cli/test/helpers/int_registers.py
index 030035d..22a3d9b 100644
--- a/test-cli/test/helpers/int_registers.py
+++ b/test-cli/test/helpers/int_registers.py
@@ -55,7 +55,6 @@ def get_mac(modelid):
# mac = mac + read(rg)
# #erase trailing zeros
# mac = mac[4::1]
- mac = sh.cat("/sys/class/net/eth0/address")
-
+ mac = sh.cat("/sys/class/net/eth0/address").strip()
return mac