Skip to content
Snippets Groups Projects
Commit 709b55ee authored by legoc's avatar legoc
Browse files

Test script

parent 7ee1c260
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
java -Djava.library.path=/usr/lib:/usr/lib/x86_64-linux-gnu/jni -Djava.util.logging.config.file=conf/client/logging.properties -jar ./target/nomadmail-1.0.0-full.jar $1
if [ $# -lt 1 ]
then
echo "usage: nomadmail <path to file to send>"
exit 65
fi
content=`cat $1`
echo "$content"
java -Djava.library.path=/usr/lib:/usr/lib/x86_64-linux-gnu/jni -Djava.util.logging.config.file=conf/client/logging.properties -jar ./target/nomadmail-1.0.0-full.jar "$content"
This is a test with multi-lines.
This must be the second line.
This must be the third line.
...
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment