mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Revert "Introduce a Secret/ directory"
This commit is contained in:
@@ -81,24 +81,7 @@ func TestExecutor_IsolationAndConstraints(t *testing.T) {
|
||||
t.Fatalf("file %v hasn't been removed", memLimits)
|
||||
}
|
||||
|
||||
expected := `/:
|
||||
alloc/
|
||||
bin/
|
||||
dev/
|
||||
etc/
|
||||
lib/
|
||||
lib64/
|
||||
local/
|
||||
proc/
|
||||
secrets/
|
||||
tmp/
|
||||
usr/
|
||||
|
||||
/etc/:
|
||||
ld.so.cache
|
||||
ld.so.conf
|
||||
ld.so.conf.d/`
|
||||
|
||||
expected := "/:\nalloc/\nbin/\ndev/\netc/\nlib/\nlib64/\nlocal/\nproc/\ntmp/\nusr/\n\n/etc/:\nld.so.cache\nld.so.conf\nld.so.conf.d/"
|
||||
file := filepath.Join(ctx.AllocDir.LogDir(), "web.stdout.0")
|
||||
output, err := ioutil.ReadFile(file)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user