[sru] fix autopkgtest typo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
New
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned | ||
Mantic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[IMPACT]
Fix an autopkgtest typo in the autopkgtests, in simple.sh,
# test using mask
test_mask () {
<snip>
# only tests first interface
if [ "$(grep -rI $ip_addr /tmp/sosreport_
echo "$(grep -rI $ip_addr /tmp/sosreport/
fi
fi
update_summary "$cmd"
}
[TEST PLAN]
Manually create a sos with an unobfuscated IP address matching output of
ip_addr=$(ip route show default | awk '/default/ {print $3}')
Check if its printed properly when the simple.sh reports the test failure due to the sosreport containing this ip address.
[WHERE PROBLEMS COULD OCCUR]
This is a very trivial typo correction and I cannot anticipate any problems due to this change.
[OTHER INFO]
see https:/
description: | updated |
Changed in sosreport (Ubuntu Mantic): | |
status: | New → In Progress |
This bug was fixed in the package sosreport - 4.5.6-0ubuntu2
---------------
sosreport (4.5.6-0ubuntu2) mantic; urgency=medium
* d/tests/simple.sh:
- Correct typo in test_mask to print ip address
(LP: #2037873)
* d/p/0002- obfuscate- netplan- ssid-password. patch:
- Obfuscate SSID password in netplan/XX.yaml files
(LP: #2037872)
-- Nikhil Kshirsagar <email address hidden> Tue, 03 Oct 2023 05:43:23 +0000