summaryrefslogtreecommitdiff
path: root/t/00-ping-from-dev.t
diff options
context:
space:
mode:
authorMarius Peter <dev@marius-peter.com>2026-07-02 17:54:07 +0200
committerMarius Peter <dev@marius-peter.com>2026-07-02 17:54:07 +0200
commitb8881057b64c6d0eedcfa2b07c138908ef2b6f76 (patch)
tree630edefe5ea608494e4e6f9a10353df3d12c119e /t/00-ping-from-dev.t
parent2c3c8f12e45c60fe30589cea11f226d63bf35cb9 (diff)
Add tests.
Diffstat (limited to 't/00-ping-from-dev.t')
-rwxr-xr-xt/00-ping-from-dev.t18
1 files changed, 18 insertions, 0 deletions
diff --git a/t/00-ping-from-dev.t b/t/00-ping-from-dev.t
new file mode 100755
index 0000000..583db09
--- /dev/null
+++ b/t/00-ping-from-dev.t
@@ -0,0 +1,18 @@
+#!/usr/bin/env perl
+# -*- mode: perl-ts; -*-
+
+use 5.32.0;
+use strict;
+use warnings;
+
+use FindBin;
+use lib "${FindBin::Bin}/lib";
+use Test2::V0;
+use FAPG::TestSupport qw(@HOSTS);
+
+foreach my $h (@HOSTS) {
+ my $cmd = "ping -c 1 $h->{hostname} &> /dev/null";
+ ok system($cmd) == 0, "host $h->{hostname} can be pinged";
+}
+
+done_testing();
Copyright 2019--2026 Marius PETER