projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5db44d9
)
test: print the usage from the symbols-leak-test
author
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 22 Nov 2022 03:59:09 +0000
(13:59 +1000)
committer
José Expósito
<jose.exposito89@gmail.com>
Tue, 22 Nov 2022 19:02:03 +0000
(19:02 +0000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/symbols-leak-test
patch
|
blob
|
history
diff --git
a/test/symbols-leak-test
b/test/symbols-leak-test
index 7b612f414b9d9b424c6abccce16d2d42be4fc697..1cf0ffafc9ff1a01d59bd46c51fa85d71753a80f 100755
(executable)
--- a/
test/symbols-leak-test
+++ b/
test/symbols-leak-test
@@
-1,4
+1,4
@@
-#!/bin/bash
-e
+#!/bin/bash
#
# simple check for exported symbols
#
@@
-9,6
+9,12
@@
shift
srcdir="$1"
shift
+if [[ -z "$mapfile" || -z "$srcdir" ]]; then
+ echo "Usage: symbols-leak-test /path/to/mapfile /path/to/libinput/src"
+ exit 2
+fi
+
+set -e
diff -a -u \
<(cat "$mapfile" | \
grep '^\s\+libinput_.*' | \