1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Kir Kolyshkin d78e885326 pkg/mount/TestMount: fix wrt selinux
Sometimes docker-master CI fails on rhel4+selinux configuration,
like this:

--- FAIL: TestMount (0.12s)
    --- FAIL: TestMount/none-remount,size=128k (0.01s)
    	mounter_linux_test.go:209: unexpected mount option "seclabel" expected "rw,size=128k"
    --- FAIL: TestMount/none-remount,ro,size=128k (0.01s)
    	mounter_linux_test.go:209: unexpected mount option "seclabel" expected "ro,size=128k"

Earlier, commit 8bebd42df2 (PR #34965) fixed this failure,
but not entirely (i.e. the test is now flaky). It looks like
either selinux detection code is not always working (it won't
work in d-in-d), or the kernel might or might not add 'seclabel'
option).

As the subject of this test case is definitely not selinux,
it can just ignore the option added by it.

While at it, fix error messages:
 - add missing commas;
 - fix a typo;
 - allow for clear distinction between mount
   and vfs (per-superblock) options.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-05-22 23:30:47 -07:00
..
aaparser
archive Fix some linting issues 2018-05-17 19:28:27 +02:00
authorization Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
broadcaster
chrootarchive Skip some tests requires root uid when run as user 2018-04-23 10:14:39 +02:00
containerfs Set format in archiver 2018-04-12 13:34:33 -07:00
devicemapper
directory
discovery
dmesg
filenotify
fileutils Fix typos 2018-05-16 15:31:12 +08:00
fsutils
homedir
idtools Skip some tests requires root uid when run as user 2018-04-23 10:14:39 +02:00
ioutils Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
jsonmessage jsonmessage: pass message to aux callback 2018-05-14 15:48:25 -07:00
locker
longpath
loopback
mount pkg/mount/TestMount: fix wrt selinux 2018-05-22 23:30:47 -07:00
namesgenerator Fix typos 2018-05-16 15:31:12 +08:00
parsers
pidfile
platform
plugingetter
plugins
pools
progress
pubsub
reexec
signal
stdcopy Merge pull request #37088 from ohbarye/fix-typos-duplicated-the 2018-05-19 20:57:47 +02:00
streamformatter
stringid
symlink
sysinfo
system Skip some tests requires root uid when run as user 2018-04-23 10:14:39 +02:00
tailfile
tarsum
term Add verification and test to check if escapeKeys is not empty 2018-04-30 00:32:43 +02:00
truncindex
urlutil
useragent
README.md

pkg/ is a collection of utility packages used by the Moby project without being specific to its internals.

Utility packages are kept separate from the moby core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the Moby organization, to facilitate re-use by other projects. However that is not the priority.

The directory pkg is named after the same directory in the camlistore project. Since Brad is a core Go maintainer, we thought it made sense to copy his methods for organizing Go code :) Thanks Brad!

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!