]> git.ipfire.org Git - thirdparty/squid.git/blame - test-suite/basic_test.sh
SourceFormat Enforcement
[thirdparty/squid.git] / test-suite / basic_test.sh
CommitLineData
c10de904 1#!/bin/sh
4e0938ef 2#
4ac4a490 3## Copyright (C) 1996-2017 The Squid Software Foundation and contributors
4e0938ef
AJ
4##
5## Squid software is distributed under GPLv2+ license and includes
6## contributions from numerous individuals and organizations.
7## Please see the COPYING and CONTRIBUTORS files for details.
8##
9
c10de904 10while read user password; do
11case $password in
12UNKNOWN)
13 echo "ERR Unknown User"
14 ;;
15OK*) echo "OK"
16 ;;
17*) echo "ERR Incorrect Login"
18 ;;
19esac
20done