blob: 829c0c8b78d5b4d3f8bbf77696030b088dabe97f [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001From ddbefd80d74c3baaae328332458db447e1666240 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 27 Apr 2017 16:37:24 +0300
4Subject: [PATCH] Move python helper scripts (used only in tests) to Python 3
5
6Upstream-Status: Pending
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Andrew Geissler82c905d2020-04-13 13:39:40 -05008
Brad Bishopd7bf8c12018-02-25 22:55:05 -05009---
10 tests/gpt-header-move | 2 +-
Andrew Geissler82c905d2020-04-13 13:39:40 -050011 tests/msdos-overlap | 2 +-
12 2 files changed, 2 insertions(+), 2 deletions(-)
Brad Bishopd7bf8c12018-02-25 22:55:05 -050013
14diff --git a/tests/gpt-header-move b/tests/gpt-header-move
Andrew Geissler82c905d2020-04-13 13:39:40 -050015index 3dda5cb..a2b9508 100755
Brad Bishopd7bf8c12018-02-25 22:55:05 -050016--- a/tests/gpt-header-move
17+++ b/tests/gpt-header-move
18@@ -1,4 +1,4 @@
19-#!/usr/bin/python
20+#!/usr/bin/env python3
21
22 # open img file, subtract 33 from altlba address, and move the last 33 sectors
23 # back by 33 sectors
24diff --git a/tests/msdos-overlap b/tests/msdos-overlap
Andrew Geissler82c905d2020-04-13 13:39:40 -050025index d6ae8d6..2c6747b 100755
Brad Bishopd7bf8c12018-02-25 22:55:05 -050026--- a/tests/msdos-overlap
27+++ b/tests/msdos-overlap
28@@ -1,4 +1,4 @@
29-#!/usr/bin/python
30+#!/usr/bin/env python3
31 """
32 Write an overlapping partition to a msdos disk
33