Merge ~ahasenack/ubuntu/+source/samba:jammy-samba-dep8-fix-1955851 into ubuntu/+source/samba:ubuntu/devel
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merged at revision: | 9f985261f48fe44fc107979bb09ca89238b012fa | ||||
| Proposed branch: | ~ahasenack/ubuntu/+source/samba:jammy-samba-dep8-fix-1955851 | ||||
| Merge into: | ubuntu/+source/samba:ubuntu/devel | ||||
| Diff against target: |
28 lines (+8/-1) 2 files modified
debian/changelog (+7/-0) debian/tests/util (+1/-1) |
||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Bryce Harrington (community) | Approve | ||
| Canonical Server | Pending | ||
|
Review via email:
|
|||
Description of the change
This applies to samba the same fix that was used in the latest autofs upload. I tried a bileto ticket for this (well, two actually), but bileto seems broken and the test never starts.
I haven't seen samba fail this test even with the bug, and I cannot explain it.
I ran it locally, and it passed:
$ tail ../dep8/log
autopkgtest [10:38:20]: test smbclient-
smbclient-
autopkgtest [10:38:20]: @@@@@@@
cifs-share-access PASS
cifs-share-
python-smoke PASS
smbclient-
smbclient-
smbclient-
smbclient-
More specifically, around the smbpasswd calls. We are interested in seeing "Added user smbtestXXXX":
$ grep -A 3 smbpasswd ../dep8/log
+ smbpasswd -s -a smbtest2231
+ echo 2231
+ echo 2231
Added user smbtest2231.
--
+ + echosmbpasswd 2854 -s
+ -a smbtest2854
echo 2854
Added user smbtest2854.
--
+ + smbpasswdecho -s 3987 -a smbtest3987
+
echo 3987
Added user smbtest3987.
--
+ smbpasswd+ -s -a smbtest4268
echo 4268
+ echo 4268
Added user smbtest4268.
--
+ + smbpasswdecho -s -a 4584 smbtest4584
+
echo 4584
Added user smbtest4584.

Yep, looks good.
An alternate solution could be
printf "${password} \n${password} \n"
however no particular benefit to that over the double echo.
Btw minor misspelling 'seetting' in commit message and changelog.
Otherwise, LGTM, +1