diff options
author | Brian C. Lane <bcl@redhat.com> | 2014-06-11 12:13:50 -0700 |
---|---|---|
committer | Phillip Susi <psusi@ubuntu.com> | 2014-06-15 14:27:30 -0400 |
commit | e8078b3a7b7652aa5f9ee6e09f3c6b21d2810b07 (patch) | |
tree | 955c5027a4b9b107289d7a18d2725ad5230f7efb /tests/t0282-gpt-move-backup.sh | |
parent | 8d2c819b9ec89ca7c29c061eb2fd438c3876d6f8 (diff) | |
download | parted-e8078b3a7b7652aa5f9ee6e09f3c6b21d2810b07.tar.gz |
Fix python test scripts for distribution
make distcheck was failing because these scripts were not being
included.
Make them both executable and and add the path to the tests that use
them. They also need to be included in the distribution so update
Makefile.am
* tests/Makefile.am: Add python test scripts
* tests/gpt-header-move.py: rename to gpt-header-move and make it
executable
* tests/msdos-overlap.py: rename to overlap.py
* tests/t0282-gpt-move-backup.sh: add path to scripts and use new name
* tests/t0283-overlap-partitions.sh: same
Diffstat (limited to 'tests/t0282-gpt-move-backup.sh')
-rw-r--r-- | tests/t0282-gpt-move-backup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/t0282-gpt-move-backup.sh b/tests/t0282-gpt-move-backup.sh index b827672..c197279 100644 --- a/tests/t0282-gpt-move-backup.sh +++ b/tests/t0282-gpt-move-backup.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -. "${srcdir=.}/init.sh"; path_prepend_ ../parted +. "${srcdir=.}/init.sh"; path_prepend_ ../parted $srcdir require_512_byte_sector_size_ dev=loop-file @@ -40,7 +40,7 @@ printf "BYT;\n$dev:${n_sectors}s:file:$sector_size_:$sector_size_:gpt::;\n" \ compare exp out || fail=1 # move the backup -python ../gpt-header-move.py $dev || fail=1 +gpt-header-move $dev || fail=1 # printing must warn, but not fix in script mode parted -s $dev print > out 2>&1 || fail=1 |