forked from wttech/CQ-Unix-Toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for OSGi bundles listing (incorrect total and missing last line).…
… Fix has been partially implemented in response to issue wttech#17.
- Loading branch information
Jakub Wadolowski
committed
Jan 16, 2015
1 parent
267f798
commit afde14b
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
afde14b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Jakub,
I cannot confirm that on my side I'm missing the last bundle. This seems a bit different on my system than on yours one.
This is almost the same patch as in 1.1.2 but you have additional \n in line 87:
Please have a look at my cqosgi patch in master
For my system it seems that I don't have problems in any mode for both dash and bash shells.
Please have a look at my instance bundle line state in OSGI:
My tests (
-j
option is JSON raw format obtained directly from CQ) for master branch:Machine format:
$ cqosgi -m -u admin | grep -o 'Active' | grep -c 'Active'
316
$ cqosgi -m -u admin | grep -o 'Fragment' | grep -c 'Fragment'
8
Pretty printed format:
I even have correct line ending for pretty printed format. The last line is correctly ended with
\n
.Could you please confirm if you have similar tests on 1.1.2.
Default shell:
$ readlink -f /bin/sh
/usr/bin/bash
My bash version:
$ bash -version
GNU bash, wersja 4.3.33(1)-release (x86_64-unknown-linux-gnu)
I'm not against merging this patch but I would like to figure out potentially dangerous differences between our systems.
Thanks in advance,
Arek