epic-ukulele
authorMichael Wagner <michael@wagnertech.de>
Tue, 25 Feb 2020 01:57:11 +0000 (02:57 +0100)
committerMichael Wagner <michael@wagnertech.de>
Tue, 25 Feb 2020 01:57:11 +0000 (02:57 +0100)
TestXfhem/FitnessePages/AaaPrepare/.dummy [new file with mode: 0644]
TestXfhem/FitnessePages/TestWatchdog/content.txt
TestXfhem/FitnessePages/properties.xml
TestXfhem/bin/.dummy [new file with mode: 0644]
debian/xfhem.control
debian/xfhem.postinst

diff --git a/TestXfhem/FitnessePages/AaaPrepare/.dummy b/TestXfhem/FitnessePages/AaaPrepare/.dummy
new file mode 100644 (file)
index 0000000..e69de29
index 2ce2b4b..564c8c3 100644 (file)
@@ -3,13 +3,18 @@ Install Watchdog
 !|test.util.CallScript|
 |call script|xfhem define watchdog localhost|
 
+Entferne Sysal-Stub-Output
+|call script|!-sudo rm /tmp/sysal-stub.out || true -!|
+
 Verkürze Zeit
-|call script|/opt/fhem/fhem.pl 7072 "modify watchdog +*00:01:00"|
+|call script|/opt/fhem/fhem.pl 7072 "modify watchdog +*00:00:05"|
 
 Warte Auslösezeit
-|call script|sleep 60|
+|call script|sleep 6|
 
 Prüfe Watchdog
+|call script|grep rwd /tmp/sysal-stub.out|
 
 Entferne Watchdog
 |call script|xfhem delete watchdog|
+
index 72aa2b6..3096ff6 100644 (file)
@@ -1,11 +1,14 @@
 <?xml version="1.0"?>
 <properties>
-       <Edit>true</Edit>
-       <Files>true</Files>
-       <Properties>true</Properties>
-       <RecentChanges>true</RecentChanges>
-       <Refactor>true</Refactor>
-       <Search>true</Search>
-       <Versions>true</Versions>
-       <WhereUsed>true</WhereUsed>
+       <Edit/>
+       <Files/>
+       <Help></Help>
+       <Properties/>
+       <RecentChanges/>
+       <Refactor/>
+       <Search/>
+       <Suite/>
+       <Suites></Suites>
+       <Versions/>
+       <WhereUsed/>
 </properties>
diff --git a/TestXfhem/bin/.dummy b/TestXfhem/bin/.dummy
new file mode 100644 (file)
index 0000000..e69de29
index 6a43d98..6d1e5ff 100644 (file)
@@ -6,6 +6,6 @@ Build-Depends: git,build-essential
  
 Package: xfhem
 Architecture: all
-Depends: fhem
+Depends: fhem,sysal-util
 Description: WagnerTech utilities for FHEM
 
index fe84a65..66f4298 100755 (executable)
@@ -3,7 +3,7 @@ set -e
 
 chown fhem:dialout /opt/fhem/wagnertech.cfg
 
-if ! grep wagnertech.cfg /opt/fhem/fhem.cfg
+if ! grep wagnertech.cfg /opt/fhem/fhem.cfg >/dev/null
 then
        echo >> /opt/fhem/fhem.cfg
        echo "# include from xfhem package" >> /opt/fhem/fhem.cfg