[Buildroot] [PATCH 1/1] support/testing: python-scp: fix test sample script
Julien Olivain
ju.o at free.fr
Tue Oct 21 17:16:42 UTC 2025
On 21/10/2025 18:27, Julien Olivain via buildroot wrote:
> When the test was introduced in [1], a comparison of the source and
> the destination file was added, with a typo (the method ".cmp" name is
> missing).
>
> The test is failing with error such as in [2]:
>
> Traceback (most recent call last):
> File "/root/sample_python_scp.py", line 15, in <module>
> assert filecmp("/etc/hostname", "/tmp/hostname")
> ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> TypeError: 'module' object is not callable
>
> This commit fixes that.
>
> [1]
> https://gitlab.com/buildroot.org/buildroot/-/commit/7470587cfa9a24d3c49adc0fb6cc60512907f31a
> [2] https://gitlab.com/buildroot.org/buildroot/-/jobs/11781378510
>
> Cc: Alexis Lothoré <alexis.lothore at bootlin.com>
> Signed-off-by: Julien Olivain <ju.o at free.fr>
Applied to master.
More information about the buildroot
mailing list