From 99a0672c4883c65a0f63665543f2696270741520 Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Fri, 26 Feb 2021 20:54:27 -0600 Subject: [PATCH] Add initial support skeleton code for DejaGnu testsuite --- testsuite/config/unix.exp | 1 + testsuite/lib/upload.exp | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 testsuite/config/unix.exp create mode 100644 testsuite/lib/upload.exp diff --git a/testsuite/config/unix.exp b/testsuite/config/unix.exp new file mode 100644 index 0000000..fa81ada --- /dev/null +++ b/testsuite/config/unix.exp @@ -0,0 +1 @@ +# empty file diff --git a/testsuite/lib/upload.exp b/testsuite/lib/upload.exp new file mode 100644 index 0000000..b566d23 --- /dev/null +++ b/testsuite/lib/upload.exp @@ -0,0 +1,29 @@ +# DejaGnu tool init file for GNU FTP upload handler tests + +# Copyright (C) 2021 Jacob Bachmeyer +# +# This file is part of a testsuite for the GNU FTP upload system. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +set UPLOAD_TOOL [file join $srcdir upload-ftp-v1.2.pl] + +proc upload_exit {} {} +proc upload_version {} { + global UPLOAD_TOOL + + exec -- $UPLOAD_TOOL --version >@ stdout +} + +#EOF -- 2.25.1