~ruther/guix-local

7cdec6a90ab6342b1ff7b4a3e9b7ec82e9c8b914 — Ludovic Courtès 9 years ago e385e95
tests: Fix 'guix environment --container' test in the presence of tmpfs.

Reported by Ting-Wei Lan <lantw44@gmail.com>.
This is a followup to 1250034d5aff14fe236aad9900233a2b6f8563bb.

* tests/guix-environment-container.sh (mount_test_code): Reverse order
of 'string-prefix?' arguments.
1 files changed, 1 insertions(+), 1 deletions(-)

M tests/guix-environment-container.sh
M tests/guix-environment-container.sh => tests/guix-environment-container.sh +1 -1
@@ 72,7 72,7 @@ mount_test_code="
                  ;; correspond to a parent file system.
                  ((_ mount (or \"tmpfs\" \"proc\" \"sysfs\" \"devtmpfs\"
                                \"devpts\" \"cgroup\" \"mqueue\") _ _ _)
                   (and (string-prefix? mount (getcwd))
                   (and (string-prefix? (getcwd) mount)
		        mount))
                  ((_ mount _ _ _ _)
                   mount)))