Bug ID 1203233
Summary apparmor tests fail with GNU grep 3.8
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Security
Assignee rgoldwyn@suse.com
Reporter Andreas.Stieger@gmx.de
QA Contact qa-bugs@suse.de
CC rgoldwyn@suse.com, schwab@suse.de, suse-beta@cboltz.de
Blocks 1203092
Found By ---
Blocker ---

GNU grep from 3.8 emitting warnings when invoking egrep/fgrep
https://build.opensuse.org/request/show/1001674

> egrep and fgrep commands, deprecated since 2007, now warn that
> they are obsolescent and should be replaced by grep -E / -F

From
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:N/apparmor/standard/x86_64

[  598s] ======================================================================
[  598s] FAIL: test_simple_profile2 (__main__.AADecodeTest)
[  598s] test simple decoding of name and profile argument
[  598s] ----------------------------------------------------------------------
[  598s] Traceback (most recent call last):
[  598s]   File
"/home/abuild/rpmbuild/BUILD/apparmor-3.0.7/utils/test/test-aa-decode.py", line
164, in test_simple_profile2
[  598s]     self._run_file_test(content, expected_strings)
[  598s]   File
"/home/abuild/rpmbuild/BUILD/apparmor-3.0.7/utils/test/test-aa-decode.py", line
102, in _run_file_test
[  598s]     self.assertIn(expected_string, report, result + report)
[  598s] AssertionError: 'name="/home/steve/tmp/my test file"' not found in
'egrep: warning: egrep is obsolescent; using grep -E\negrep: warning: egrep is
obsolescent; using grep -E\negrep: warning: egrep is obsolescent; using grep
-E\n' : could not find expected name="/home/steve/tmp/my test file" in output:
[  598s] egrep: warning: egrep is obsolescent; using grep -E
[  598s] egrep: warning: egrep is obsolescent; using grep -E
[  598s] egrep: warning: egrep is obsolescent; using grep -E
[  598s] 
[  598s] 
[  598s] ----------------------------------------------------------------------


You are receiving this mail because: