Commit 709b55ee authored by legoc's avatar legoc

Test script

parent 7ee1c260
#!/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.
...
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment