X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-type-props.c;h=0a1d3fd32c5479aeebab26fa76281d62581082e9;hb=c6ebb8fb918f819a3c9b7161731ea0453a79137a;hp=67dabae8672b64da40b078293aa9b088d2d95f94;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=openvswitch diff --git a/tests/test-type-props.c b/tests/test-type-props.c index 67dabae8..0a1d3fd3 100644 --- a/tests/test-type-props.c +++ b/tests/test-type-props.c @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2008, 2009 Nicira Networks. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include #include "type-props.h" #include @@ -17,7 +33,7 @@ MUST_SUCCEED(TYPE_MINIMUM(type) == minimum); int -main (void) +main (void) { TEST_TYPE(char, CHAR_MIN, CHAR_MAX, (CHAR_MIN < 0));