| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: t_df.sh,v 1.8 2011/08/28 19:09:34 gson Exp $ | | 1 | # $NetBSD: t_df.sh,v 1.9 2011/08/29 04:55:58 gson Exp $ |
2 | # | | 2 | # |
3 | # Copyright (c) 2007, 2008 The NetBSD Foundation, Inc. | | 3 | # Copyright (c) 2007, 2008 The NetBSD Foundation, Inc. |
4 | # All rights reserved. | | 4 | # All rights reserved. |
5 | # | | 5 | # |
6 | # Redistribution and use in source and binary forms, with or without | | 6 | # Redistribution and use in source and binary forms, with or without |
7 | # modification, are permitted provided that the following conditions | | 7 | # modification, are permitted provided that the following conditions |
8 | # are met: | | 8 | # are met: |
9 | # 1. Redistributions of source code must retain the above copyright | | 9 | # 1. Redistributions of source code must retain the above copyright |
10 | # notice, this list of conditions and the following disclaimer. | | 10 | # notice, this list of conditions and the following disclaimer. |
11 | # 2. Redistributions in binary form must reproduce the above copyright | | 11 | # 2. Redistributions in binary form must reproduce the above copyright |
12 | # notice, this list of conditions and the following disclaimer in the | | 12 | # notice, this list of conditions and the following disclaimer in the |
13 | # documentation and/or other materials provided with the distribution. | | 13 | # documentation and/or other materials provided with the distribution. |
14 | # | | 14 | # |
| @@ -23,27 +23,27 @@ | | | @@ -23,27 +23,27 @@ |
23 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 23 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
24 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 24 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
25 | # POSSIBILITY OF SUCH DAMAGE. | | 25 | # POSSIBILITY OF SUCH DAMAGE. |
26 | # | | 26 | # |
27 | | | 27 | |
28 | atf_test_case normal | | 28 | atf_test_case normal |
29 | normal_head() { | | 29 | normal_head() { |
30 | atf_set "descr" "Checks that the output of df without flags is" \ | | 30 | atf_set "descr" "Checks that the output of df without flags is" \ |
31 | "correct according to some already-known, sane" \ | | 31 | "correct according to some already-known, sane" \ |
32 | "output" | | 32 | "output" |
33 | } | | 33 | } |
34 | normal_body() { | | 34 | normal_body() { |
35 | cat >expout <<EOF | | 35 | cat >expout <<EOF |
36 | Filesystem 1K-blocks Used Avail %Cap Mounted on | | 36 | Filesystem 1K-blocks Used Avail %Cap Mounted on |
37 | filer:/ 1202716672 135168 1202581504 0% /filer | | 37 | filer:/ 1202716672 135168 1202581504 0% /filer |
38 | filer:/ 1202716672 0 1202716672 0% /filer | | 38 | filer:/ 1202716672 0 1202716672 0% /filer |
39 | filer:/ 1202716672 240543334 962173337 20% /filer | | 39 | filer:/ 1202716672 240543334 962173337 20% /filer |
40 | filer:/ 1202716672 721630003 481086668 60% /filer | | 40 | filer:/ 1202716672 721630003 481086668 60% /filer |
41 | filer:/ 1202716672 1142580838 60135833 95% /filer | | 41 | filer:/ 1202716672 1142580838 60135833 95% /filer |
42 | filer:/ 1202716672 1202716672 0 100% /filer | | 42 | filer:/ 1202716672 1202716672 0 100% /filer |
43 | filer:/ 1202716672 0 1142580838 0% /filer | | 43 | filer:/ 1202716672 0 1142580838 0% /filer |
44 | filer:/ 1202716672 240543334 902037504 21% /filer | | 44 | filer:/ 1202716672 240543334 902037504 21% /filer |
45 | filer:/ 1202716672 721630003 420950835 63% /filer | | 45 | filer:/ 1202716672 721630003 420950835 63% /filer |
46 | filer:/ 1202716672 1142580838 0 100% /filer | | 46 | filer:/ 1202716672 1142580838 0 100% /filer |
47 | filer:/ 1202716672 1202716672 -60135833 105% /filer | | 47 | filer:/ 1202716672 1202716672 -60135833 105% /filer |
48 | filer:/ 1202716672 0 1082445004 0% /filer | | 48 | filer:/ 1202716672 0 1082445004 0% /filer |
49 | filer:/ 1202716672 240543334 841901670 22% /filer | | 49 | filer:/ 1202716672 240543334 841901670 22% /filer |