support/testing: set $USER in rust tests
authorEric Le Bihan <eric.le.bihan.dev@free.fr>
Sat, 28 Apr 2018 22:14:13 +0000 (00:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 29 Apr 2018 07:57:32 +0000 (09:57 +0200)
commit09a5eb427a6d9160e74ab56941640c02334eabf1
treefd63ba2e1bf59dbf191f5cdbf66b7fe030f14704
parent554a0350b825dffc26f652e20895f3ea71af929b
support/testing: set $USER in rust tests

When the run-time tests to build rust and rust-bin packages are run via Docker,
the $USER environment variable is not set, which makes cargo fail when
initializing the test project.

So add it to make cargo happy.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/testing/tests/package/test_rust.py