File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
test/integration/controls Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ RUN apt-get update && \
1212 libusb-dev \
1313 smbclient \
1414 jq \
15+ dbus \
1516 && rm -rf /tmp/* /var/{cache,log}/* /var/lib/apt/lists/*
1617
1718COPY ./scan.sh /scan.sh
Original file line number Diff line number Diff line change @@ -22,4 +22,7 @@ echo " OCR_LANGUAGE=$OCR_LANGUAGE"
2222echo " SCAN_RESOLUTION=$SCAN_RESOLUTION "
2323echo " SCAN_MODE=$SCAN_MODE "
2424
25+ mkdir -p /run/dbus
26+ dbus-daemon --system --fork
27+
2528exec /usr/sbin/scanbd -f
Original file line number Diff line number Diff line change 11title "scandb2smb Integration Test"
22
3- describe processes ( Regexp . new ( "scandb " ) ) do
3+ describe processes ( Regexp . new ( "/usr/sbin/scanbd " ) ) do
44 it { should exist }
5- its ( 'users' ) { should include 'root ' }
5+ its ( 'users' ) { should include 'saned ' }
66 its ( 'pids' ) { should cmp "1" }
77end
You can’t perform that action at this time.
0 commit comments