File: test-alltools.sh

package info (click to toggle)
aircrack-ng 1%3A1.6%2Bgit20210130.91820bc-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 19,056 kB
  • sloc: ansic: 67,045; cs: 5,392; sh: 3,773; python: 2,565; pascal: 1,074; asm: 570; makefile: 253; cpp: 46
file content (37 lines) | stat: -rwxr-xr-x 769 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh

test_tool()
{
	TOOL_PATH="${top_builddir}/src/${1}${EXEEXT}"
	if [ -f "${TOOL_PATH}" ]; then
		"${TOOL_PATH}"
		# Anything greater than 1 indicates it does not
		# exist or did not run properly (crash)
		[ $? -gt 1 ] && exit 1
	fi
}

test_tool airbase-ng
test_tool aircrack-ng
test_tool airdecap-ng
test_tool airdecloak-ng
test_tool aireplay-ng
test_tool airodump-ng
test_tool airolib-ng
test_tool airserv-ng
test_tool airtun-ng
test_tool airventriloquist-ng
test_tool besside-ng
test_tool besside-ng-crawler
# Buddy-ng doesn't have any parameters and requires root
#test_tool buddy-ng
test_tool easside-ng
test_tool ivstools
test_tool kstats
test_tool makeivs-ng
test_tool packetforge-ng
test_tool tkiptun-ng
test_tool wesside-ng
test_tool wpaclean

exit 0