[Swan-dev] Revert "testing: merge / simplify guest prompt sanitizers"; Was: [Swan-commit] Changes to ref refs/heads/master

Paul Wouters paul at nohats.ca
Tue Jan 28 16:54:41 UTC 2020


On Tue, 28 Jan 2020, Andrew Cagney wrote:

> Do you have specifics?  Presumably the name space prompt wasn't
> matching the simplified pattern.

Yeah. You can apply it and run any test case using namespaces, eg:

git show 91b337be287ace99b99bcf27f93d42cb2796a5b8 | patch -p1 -s 
cd testing/pluto/basic-pluto-01
../../utils/nsrun --ns --shutdown
[...]
result basic-pluto-01 failed

and the diff shows:

--- east.console.txt    2020-01-26 12:47:10.725328795 +0100
+++ OUTPUT/east.console.txt     2020-01-28 17:53:35.990955026 +0100
@@ -1,13 +1,13 @@
  /testing/guestbin/swan-prep
-east #
+^[]0;root at thinkpad:/home/paul/libreswan/testing/pluto/basic-pluto-01^Geast #
   ipsec start
  Redirecting to: [initsystem]
-east #
+^[]0;root at thinkpad:/home/paul/libreswan/testing/pluto/basic-pluto-01^Geast #
   /testing/pluto/bin/wait-until-pluto-started

Paul


More information about the Swan-dev mailing list