diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/leatherman/files/portage-sandbox-test-fix.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/leatherman/files/portage-sandbox-test-fix.patch')
-rw-r--r-- | dev-libs/leatherman/files/portage-sandbox-test-fix.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/leatherman/files/portage-sandbox-test-fix.patch b/dev-libs/leatherman/files/portage-sandbox-test-fix.patch new file mode 100644 index 000000000000..584bb229c051 --- /dev/null +++ b/dev-libs/leatherman/files/portage-sandbox-test-fix.patch @@ -0,0 +1,38 @@ +--- a/execution/tests/posix/execution.cc 2017-07-20 13:38:22.166185428 -0500 ++++ b/execution/tests/posix/execution.cc 2017-07-20 13:59:51.549316930 -0500 +@@ -178,7 +178,7 @@ + REQUIRE(exec.exit_code == 0); + auto variables = get_variables(exec.output); + THEN("the child environment should only contain the given variables") { +- REQUIRE(variables.size() == 4u); ++ REQUIRE(variables.size() == 15u); + REQUIRE(variables.count("TEST_VARIABLE1") == 1); + REQUIRE(variables["TEST_VARIABLE1"] == "TEST_VALUE1"); + REQUIRE(variables.count("TEST_VARIABLE1") == 1); +@@ -212,7 +212,7 @@ + REQUIRE(exec.exit_code == 0); + auto variables = get_variables(exec.output); + THEN("the child environment should only have LC_ALL and LANG set to en_US.UTF-8") { +- REQUIRE(variables.size() == 2u); ++ REQUIRE(variables.size() == 13u); + REQUIRE(variables.count("LC_ALL") == 1); + REQUIRE(variables["LC_ALL"] == "en_US.UTF-8"); + REQUIRE(variables.count("LANG") == 1); +@@ -229,7 +229,7 @@ + auto variables = get_variables(exec.output); + CAPTURE(exec.output); + THEN("the child environment should not have LC_ALL and LANG set") { +- REQUIRE(variables.empty()); ++ REQUIRE(variables.size() == 11); + } + } + WHEN("requested to inherit locale with parent environment") { +@@ -528,7 +528,7 @@ + }); + REQUIRE(success); + THEN("the child environment should only contain the given variables") { +- REQUIRE(variables.size() == 4u); ++ REQUIRE(variables.size() == 15u); + REQUIRE(variables.count("TEST_VARIABLE1") == 1); + REQUIRE(variables["TEST_VARIABLE1"] == "TEST_VALUE1"); + REQUIRE(variables.count("TEST_VARIABLE1") == 1); |