aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-notify2/test-wrapper.sh
blob: b4763bc0e84cba248be69ba79c6308ffa15239b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# Copyright 2020 Antoine Fontaine
# SPDX-License-Identifier: GPL-3.0-or-later

# tiny wrapper that starts a notification dæmon (dunst)
# for the testsuite to talk to

dunst >/dev/null 2>&1 &
dunst_pid=$!

python3 test_notify2.py
success=$?

kill $dunst_pid

exit $success