Skip to content

Commit df2367f

Browse files
committed
ci/test: change patch and its target to work on MacOS
1 parent 3f77ee1 commit df2367f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

cue-test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,8 @@ def setUp(self):
863863
pass
864864
with open(self.bla_file, 'w') as f:
865865
f.write('''LINE1=YES
866-
LINE2=NO''')
866+
LINE2=NO
867+
''')
867868

868869
def test_patchfile(self):
869870
hook = os.path.join(builddir, 'test.patch')

test.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
diff -ruN a/bla.txt b/bla.txt
22
--- a/bla.txt 2020-06-19 18:54:43.129076711 +0200
33
+++ b/bla.txt 2020-06-19 18:55:05.093948316 +0200
4-
@@ -1,3 +1,3 @@
4+
@@ -1,2 +1,2 @@
55
-LINE1=YES
66
+LINE1=NO
77
LINE2=NO

0 commit comments

Comments
 (0)