Skip to content

Commit

Permalink
refresh patches against upstream/main
Browse files Browse the repository at this point in the history
patches:
debian/patches/status-do-not-remove-duplicated-data.patch
debian/patches/status-retain-recoverable-error-exit-code.patch
  • Loading branch information
TheRealFalcon committed Feb 27, 2024
1 parent 91f5395 commit b9f1b15
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions debian/patches/status-do-not-remove-duplicated-data.patch
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

--- a/tests/unittests/cmd/test_status.py
+++ b/tests/unittests/cmd/test_status.py
@@ -501,6 +501,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
@@ -507,6 +507,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
dedent(
"""\
---
+ _schema_version: '1'
boot_status_code: enabled-by-kernel-cmdline
datasource: ''
detail: 'Running in stage: init'
@@ -514,6 +515,23 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
@@ -520,6 +521,23 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
start: 123.45
last_update: Thu, 01 Jan 1970 00:02:04 +0000
recoverable_errors: {}
Expand All @@ -51,7 +51,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
stage: init
status: running
...
@@ -546,6 +564,25 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
@@ -552,6 +570,25 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
"init-local": {"finished": 123.46, "start": 123.45},
"last_update": "Thu, 01 Jan 1970 00:02:04 +0000",
"recoverable_errors": {},
Expand All @@ -77,15 +77,15 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
"stage": "init",
},
id="running_json_format",
@@ -577,6 +614,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
@@ -583,6 +620,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
MyArgs(long=False, wait=False, format="json"),
1,
{
+ "_schema_version": "1",
"boot_status_code": "enabled-by-kernel-cmdline",
"datasource": "nocloud",
"detail": (
@@ -598,6 +636,30 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
@@ -604,6 +642,30 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
},
"last_update": "Thu, 01 Jan 1970 00:02:05 +0000",
"recoverable_errors": {},
Expand Down Expand Up @@ -116,15 +116,15 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
"stage": None,
},
id="running_json_format_with_errors",
@@ -660,6 +722,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
@@ -666,6 +728,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
MyArgs(long=False, wait=False, format="json"),
2,
{
+ "_schema_version": "1",
"boot_status_code": "enabled-by-kernel-cmdline",
"datasource": "nocloud",
"detail": (
@@ -719,6 +782,89 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
@@ -725,6 +788,89 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
"don't try to open the hatch or we'll all be soup"
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

--- a/tests/unittests/cmd/test_status.py
+++ b/tests/unittests/cmd/test_status.py
@@ -720,7 +720,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
@@ -726,7 +726,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr
},
None,
MyArgs(long=False, wait=False, format="json"),
Expand Down

0 comments on commit b9f1b15

Please sign in to comment.