tests/builders: Avoid races in unpack tests.

* tests/builders.scm
<gnu-build-system unpack phase, single file>: Add sync call.

Change-Id: Iac992e0899fe3b9c9e727bd42860ec564e1dc9a2
This commit is contained in:
Maxim Cournoyer 2025-09-30 14:43:06 +09:00
parent ba4bc10dd4
commit 4c6b2da2ed
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -140,6 +140,7 @@
(lambda (dir) (lambda (dir)
(with-directory-excursion dir (with-directory-excursion dir
(unpack #:source file) (unpack #:source file)
(sync)
(call-with-input-file name get-string-all)))))))) (call-with-input-file name get-string-all))))))))
compressors) compressors)