tests: add test file for whois.
This commit is contained in:
parent
97d5fe3f68
commit
a2a402d8a9
1 changed files with 19 additions and 0 deletions
19
tests/integration/whois.bats
Normal file
19
tests/integration/whois.bats
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
#!/usr/bin/env bats
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2025 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
load common
|
||||||
|
|
||||||
|
@test "whois: Get information about a domain name" {
|
||||||
|
whois google.fr
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "whois: Get information about an IP address" {
|
||||||
|
whois 8.8.8.8
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "whois: Get abuse contact for an IP address" {
|
||||||
|
whois -b 8.8.8.8
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue