diff mbox series

[v1] obexctl: Enable Map folderlisting operation from obexctl

Message ID 20241213111940.3475051-1-quic_amisjain@quicinc.com
State New
Headers show
Series [v1] obexctl: Enable Map folderlisting operation from obexctl | expand

Commit Message

Amisha Jain (QUIC) Dec. 13, 2024, 11:19 a.m. UTC
This change is required for passing below PTS testcase -

1) MAP/MCE/MMB/BV-01-C
Verify that the MCE can retrieve a Folders Listing on the MSE.

As of now, user is able to initiate only map messagelisting
operation with command 'ls' and there is no way to initiate
folder listing from obexctl.
Adding a way to initiate it with command "ls ."

---
 tools/obexctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

bluez.test.bot@gmail.com Dec. 13, 2024, 12:31 p.m. UTC | #1
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=917564

---Test result---

Test Summary:
CheckPatch                    PENDING   0.33 seconds
GitLint                       PENDING   0.32 seconds
BuildEll                      PASS      20.31 seconds
BluezMake                     PASS      1586.90 seconds
MakeCheck                     PASS      12.92 seconds
MakeDistcheck                 PASS      158.05 seconds
CheckValgrind                 PASS      214.43 seconds
CheckSmatch                   PASS      271.61 seconds
bluezmakeextell               PASS      98.69 seconds
IncrementalBuild              PENDING   0.28 seconds
ScanBuild                     PASS      843.81 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:



---
Regards,
Linux Bluetooth
diff mbox series

Patch

diff --git a/tools/obexctl.c b/tools/obexctl.c
index 9adf8088a..304950763 100644
--- a/tools/obexctl.c
+++ b/tools/obexctl.c
@@ -1265,7 +1265,7 @@  static void map_ls_messages(GDBusProxy *proxy, int argc, char *argv[])
 
 static void map_ls(GDBusProxy *proxy, int argc, char *argv[])
 {
-	if (argc > 1) {
+	if (argc > 1 && strcmp(".", argv[1]) != 0) {
 		map_ls_messages(proxy, argc, argv);
 		return;
 	}