]> git.ipfire.org Git - thirdparty/squid.git/blob - test-suite/basic_test.sh
Source Format Enforcement (#532)
[thirdparty/squid.git] / test-suite / basic_test.sh
1 #!/bin/sh
2 #
3 ## Copyright (C) 1996-2020 The Squid Software Foundation and contributors
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
10 while read user password; do
11 case $password in
12 UNKNOWN)
13 echo "ERR Unknown User"
14 ;;
15 OK*) echo "OK"
16 ;;
17 *) echo "ERR Incorrect Login"
18 ;;
19 esac
20 done