[Buildroot] [PATCH v3 1/1] package/shadow: new package

Raphael Pavlidis raphael.pavlidis at gmail.com
Fri Dec 16 09:42:03 UTC 2022


Nicolas, All,
I added your test and executed it, but I got an error:

======================================================================
FAIL: test_usermod (tests.package.test_shadow.TestShadow)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/tmp/buildroot/support/testing/tests/package/test_shadow.py", 
line 53, in test_usermod
     self.assertRunOk(f'test $(su {username} -c "echo $HOME") = {new_home}')
   File "/tmp/buildroot/support/testing/infra/basetest.py", line 94, in 
assertRunOk
     self.assertEqual(exit_code, 0)
AssertionError: 1 != 0


I used the following command:
./support/testing/run-tests -d dl -o output_folder -k 
tests.package.test_shadow.TestShadow

Did I something wrong?


Regards,
Raphael Pavlidis



More information about the buildroot mailing list