msmtp: add test.sh
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 23 May 2024 22:05:20 +0000 (00:05 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 23 May 2024 22:05:20 +0000 (00:05 +0200)
This file ensures that msmtp is run tested inside GitHub Actions
to help to ensure that this application is compiled and run
tested for OpenWrt master.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
mail/msmtp/test.sh [new file with mode: 0644]

diff --git a/mail/msmtp/test.sh b/mail/msmtp/test.sh
new file mode 100644 (file)
index 0000000..aa62b10
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+case "$1" in
+        msmtp)
+                msmtp --version | grep "$2"
+                ;;
+esac