-
Notifications
You must be signed in to change notification settings - Fork 123
MSR: replace grep -P with sed #1301
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,7 +101,7 @@ sudo kdb mount main.ini /examples/conditionals ni | |
sudo kdb mount sub.ini /examples/conditionals/sub ini | ||
|
||
# mount conditionals as global plugin | ||
sudo kdb global-mount conditionals | ||
sudo kdb global-mount conditionals || $(exit 0) | ||
|
||
# create testfiles | ||
cat > `kdb file /examples/conditionals` << EOF \ | ||
|
@@ -113,9 +113,9 @@ EOF | |
echo "key = false" > `kdb file /examples/conditionals/sub` | ||
|
||
# should fail and yield an error | ||
kdb export /examples/conditionals ini | ||
#> sub/key = false | ||
kdb export /examples/conditionals simpleini | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should avoid simpleini, it currently does not work on macOS. (In particular such a change is strange in a PR attempting to do macOS fixes 😆) Any reason why you used it here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh, didn't know that. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @sanssecours said he will add a simpleini replacement for MacOS. #701 We should not make |
||
#> key1 = val1 | ||
#> sub/key = false | ||
# ERRORS:135 | ||
# Error (#135) occurred! | ||
# Description: Validation failed | ||
|
@@ -129,9 +129,9 @@ kdb export /examples/conditionals ini | |
kdb set /examples/conditionals/sub/key true | ||
|
||
# should succeed | ||
kdb export /examples/conditionals ini | ||
#> sub/key = true | ||
kdb export /examples/conditionals simpleini | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. again |
||
#> key1 = val1 | ||
#> sub/key = true | ||
|
||
# cleanup | ||
kdb rm -r /examples/conditionals | ||
|
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.
I added #1306 to revert this later