Displaying 5 results from an estimated 5 matches for "checksize_test".
2015 Nov 19
3
[PATCH] Refactor checksize.pl
- Remove padsize argument as it is never used.
- Add an usage printed when $file is not set or --help, -h
is the first argument.
- Add basic tests for this script.
---
mbr/checksize.pl | 27 ++++++++++++++++++---------
mbr/checksize_test.sh | 22 ++++++++++++++++++++++
2 files changed, 40 insertions(+), 9 deletions(-)
create mode 100644 mbr/checksize_test.sh
diff --git a/mbr/checksize.pl b/mbr/checksize.pl
index 4b42327..cbca5b2 100755
--- a/mbr/checksize.pl
+++ b/mbr/checksize.pl
@@ -19,25 +19,34 @@
use bytes;
-($file, $max...
2015 Nov 19
1
[PATCH] Refactor checksize.pl
...ux <syslinux at zytor.com>:
> - Remove padsize argument as it is never used.
> - Add an usage printed when $file is not set or --help, -h
> is the first argument.
> - Add basic tests for this script.
> ---
> mbr/checksize.pl | 27 ++++++++++++++++++---------
> mbr/checksize_test.sh | 22 ++++++++++++++++++++++
> 2 files changed, 40 insertions(+), 9 deletions(-)
> create mode 100644 mbr/checksize_test.sh
>
> diff --git a/mbr/checksize.pl b/mbr/checksize.pl
> index 4b42327..cbca5b2 100755
> --- a/mbr/checksize.pl
> +++ b/mbr/checksize.pl
> @@ -19,25...
2015 Nov 19
0
[PATCH] Refactor checksize.pl
...ux <syslinux at zytor.com>:
> - Remove padsize argument as it is never used.
> - Add an usage printed when $file is not set or --help, -h
> is the first argument.
> - Add basic tests for this script.
> ---
> mbr/checksize.pl | 27 ++++++++++++++++++---------
> mbr/checksize_test.sh | 22 ++++++++++++++++++++++
> 2 files changed, 40 insertions(+), 9 deletions(-)
> create mode 100644 mbr/checksize_test.sh
>
> diff --git a/mbr/checksize.pl b/mbr/checksize.pl
> index 4b42327..cbca5b2 100755
> --- a/mbr/checksize.pl
> +++ b/mbr/checksize.pl
> @@ -19,25...
2015 Nov 19
2
Comments WAS: Refactor checksize.pl
...gt; > - Remove padsize argument as it is never used.
> > - Add an usage printed when $file is not set or --help, -h
> > is the first argument.
> > - Add basic tests for this script.
> > ---
> > mbr/checksize.pl | 27 ++++++++++++++++++---------
> > mbr/checksize_test.sh | 22 ++++++++++++++++++++++
> > 2 files changed, 40 insertions(+), 9 deletions(-)
> > create mode 100644 mbr/checksize_test.sh
> >
> Just to make sure: the goal of the shell script is to check the perl script?
> If so, I wonder if it wouldn't be better in the test...
2015 Nov 20
0
Comments WAS: Refactor checksize.pl
...e argument as it is never used.
>> > - Add an usage printed when $file is not set or --help, -h
>> > is the first argument.
>> > - Add basic tests for this script.
>> > ---
>> > mbr/checksize.pl | 27 ++++++++++++++++++---------
>> > mbr/checksize_test.sh | 22 ++++++++++++++++++++++
>> > 2 files changed, 40 insertions(+), 9 deletions(-)
>> > create mode 100644 mbr/checksize_test.sh
>> >
>
>> Just to make sure: the goal of the shell script is to check the perl
>> script?
>> If so, I wonder if it wo...