Closed Alan-R closed 9 years ago
what's the expected discovery output of sudoers vs what is actually being output? i cant see it from the build log
Here's the chunk of build output. You can find it pretty quickly by searching for "sudoers"
"Defaults": {
- "ANY": {"syslog": "auth"},
- "command:PAGERS": {"noexec": true},
"user:FULLTIMERS": {"lecture": false},
"user:millert": {"authenticate": false},
+ "command:PAGERS": {"noexec": true},
"runas:root": {"set_logname": false},
- "system:SERVERS": {"log_year": true, "logfile": "/var/log/sudo.log"}
+ "system:SERVERS": {"log_year": true, "logfile": "/var/log/sudo.log"},
+ "ANY": {"syslog": "auth"}
},
I just pushed a change that sets LC_ALL='C' - which should make sort always behave the same way... We'll see if that fixed it...
As you can see, in the travis.ci output, "command:PAGERS" sorts down farther, as does "ANY":.
That appears to have fixed it. "Discovery test sudoers succeeded."
awesome. green is my favorite color too!
The symptoms point to sort giving different results on different platforms - without any errors being indicated. https://travis-ci.org/assimilation/assimilation-official/builds/81379935
The only thing I know of that could possibly cause that is the locale. Sort command man page suggests setting LC_ALL=C. So I'm trying that.