tests: Fix 'guix environment --container' test in the presence of tmpfs.
Reported by Ting-Wei Lan <lantw44@gmail.com>.
This is a followup to 1250034d5a
.
* tests/guix-environment-container.sh (mount_test_code): Reverse order
of 'string-prefix?' arguments.
This commit is contained in:
parent
e385e95767
commit
7cdec6a90a
|
@ -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)))
|
||||
|
|
Loading…
Reference in New Issue