Simon McVittie ec81d5c61b test-run: avoid testing cases of filesystem binding that won't work
This test effectively assumed that ${test_builddir} is in /home, /opt,
a non-FHS top level directory, or some other directory that isn't
in dont_mount_in_root[] in flatpak-run.c. In a distro build where
${libexecdir} is below /usr, when running the installed-tests
so ${test_builddir} is ${libexecdir}, this assumption doesn't hold.

We can't just copy the file we're dealing with into a subdirectory
of /tmp or /var/tmp either, because those directories aren't
part of --filesystem=host. Meanwhile, we also don't want to pollute
$HOME with test detritus.

For the best possible coverage given all those constraints, we try
three directories: ${test_builddir}; ${TEST_DATA_DIR}, which is
in /var/tmp; and ~/.flatpak-tests, but only if it already exists.

When testing --[no]filesystem=host overrides, we don't even try
${TEST_DATA_DIR}, because we know it's in /var/tmp which can only
be shared explicitly, but we do try the others.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-06-16 00:10:42 -04:00
2016-06-10 01:09:51 -04:00
2016-06-10 10:09:02 +02:00
2016-05-27 06:45:16 +00:00
2016-05-30 14:54:22 +02:00
2016-05-27 06:46:56 +00:00
2016-06-14 22:33:14 +02:00
2016-03-11 16:55:15 +01:00
2016-04-27 16:37:15 +02:00
2016-06-03 14:30:25 +02:00
2016-04-29 15:38:20 +02:00
2015-09-07 17:17:44 +02:00
2016-06-07 10:10:30 +02:00
2015-03-31 15:36:29 +01:00
2016-05-09 09:46:26 +02:00
2016-06-02 18:05:22 -04:00
2016-06-10 13:44:52 +02:00
2016-06-02 18:05:22 -04:00
2016-05-06 15:27:19 +02:00
2016-05-06 15:27:19 +02:00

Flatpak

Flatpak is a system for building, distributing and running sandboxed desktop applications on Linux.

See https://flatpak.org/ for more information.

Description
No description provided
Readme 62 MiB
Languages
C 91.1%
Shell 5.1%
Python 1.8%
Meson 1.1%
Yacc 0.8%