mirror of
https://salsa.debian.org/ha-team/libqb
synced 2025-12-31 02:32:41 +00:00
Dietmar: can you confirm this works for you? Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
20 lines
273 B
Bash
Executable File
20 lines
273 B
Bash
Executable File
#!/bin/bash
|
|
RETURN=0
|
|
ls /dev/shm/qb-test* 2>/dev/null
|
|
if [ $? -eq 0 ]
|
|
then
|
|
echo
|
|
echo "Error: shared memory segments not closed/unlinked"
|
|
echo
|
|
RETURN=1
|
|
fi
|
|
ps aux | grep -v grep | grep lt-check
|
|
if [ $? -eq 0 ]
|
|
then
|
|
echo "test program frozen"
|
|
RETURN=1
|
|
fi
|
|
|
|
exit $RETURN
|
|
|