-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
|
||
export DEFAULT_PATH=/usr/local/MNXtools | ||
export OS_PATH='docker run --mount type=bind,source=/tmp/MNXtools_test,target=/tmp/MNXtools_test --rm -i -t sibswiss/mnxtools' | ||
$DEFAULT_PATH/test/ALLTESTS.sh | ||
|
||
exit 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/usr/bin/env perl | ||
|
||
use strict; | ||
use warnings; | ||
use diagnostics; | ||
|
||
use FindBin qw( $RealBin ); | ||
use lib "$RealBin/../perl"; | ||
|
||
my $arg = $ARGV[0] || help(); | ||
|
||
|
||
if ( $arg eq 'help' || $arg eq 'h' ){ | ||
help(); | ||
} | ||
elsif ( $arg eq 'yaml' ){ | ||
system("cat $RealBin/../doc/convert_manual.md"); | ||
exit 0; | ||
} | ||
else { | ||
warn "\n\tInvalid argument\n\n"; | ||
exit 1; | ||
} | ||
|
||
exit 0; | ||
|
||
sub help { | ||
my $cmd = $0; | ||
$cmd =~ s{^.*/}{}; | ||
|
||
print "\n\t$cmd <argument> | ||
\targuments: | ||
\tyaml Help about convert codes found in convert_log.yaml | ||
\thelp Display this message | ||
\n"; | ||
exit 0; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/bin/sh | ||
|
||
cat ../container/mnxtools_help.txt | ||
DIR=`which $0 | sed -e 's@[^/]*$@@'` | ||
cat $DIR/../container/mnxtools_help.txt | ||
|
||
exit 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters