]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: tweak dummy_bsmtp
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Thu, 22 Jul 2021 15:38:59 +0000 (17:38 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:03 +0000 (09:03 +0100)
Change script so that it echoes messages into tmp log file

regress/scripts/dummy_bsmtp

index 2ec7d9fa387c0c213522b6dabea1e1f67590080f..f51378a4a2f0484beb993f5a1fbd407b5cd2653d 100755 (executable)
@@ -3,12 +3,14 @@
 # Copyright (C) 2000-2015 Kern Sibbald
 # License: BSD 2-Clause; see file LICENSE-FOSS
 #
-
+. scripts/functions
 
 while test 1 ; do
   read a
+  echo "${a}" >> $tmp/dummy_bsmtp.out
   if test $? != 0; then
     exit 0
   fi
 done
+
 exit 0