]> Cypherpunks repositories - gostls13.git/commit
syscall: skip some exec tests in container
authorAlexander Morozov <lk4d4math@gmail.com>
Wed, 23 Aug 2017 18:49:22 +0000 (11:49 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 23 Aug 2017 21:46:55 +0000 (21:46 +0000)
commit75fbc8a3d00cf310a5f67aae946fbc346dbb725d
tree98744a1c0f7bc589fec32e65dd9077f48cb6a5d6
parent8f1e2a2610765528068107e33ab0d1d2ff224ce3
syscall: skip some exec tests in container

For those tests there won't be enough permissions in containers.
I decided to go this way instead of just skipping os.IsPermission errors because
many of those tests were specifically written to check false positive permission
errors.

Fixes #21379

Change-Id: Ie25e1d6d47f85bb6b570352638440f3ac1e18e03
Reviewed-on: https://go-review.googlesource.com/58170
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/syscall/exec_linux_test.go