File: shell_guess__os_vms.t

package info (click to toggle)
libshell-guess-perl 0.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 256 kB
  • sloc: perl: 166; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 292 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
use strict;
use warnings;
use Test::More;
use Shell::Guess;

plan skip_all => 'VMS only test' unless $^O eq 'VMS';
plan tests => 2;

is eval { Shell::Guess->running_shell->is_dcl }, 1, "running dcl";
diag $@ if $@;
is eval { Shell::Guess->login_shell->is_dcl }, 1, "login dcl";
diag $@ if $@;