aboutsummaryrefslogtreecommitdiff
path: root/test/read_stdin
blob: 29578a6543ca7e1f13d039e6da94043d9e23947c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

read line

if [ "$line" == "test" ]; then
	exit 0
else
	exit 1
fi