github.com/slspeek/camlistore_namedsearch@v0.0.0-20140519202248-ed6f70f7721a/pkg/fs/z_test.go (about) 1 // +build linux darwin 2 3 /* 4 Copyright 2013 The Camlistore Authors. 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 */ 18 19 package fs 20 21 import ( 22 "testing" 23 24 "camlistore.org/pkg/test" 25 ) 26 27 // Make sure that the camlistored process started 28 // by the World gets terminated when all the tests 29 // are done. 30 // This works only as long as TestZLastTest is the 31 // last test to run in the package. 32 func TestZLastTest(t *testing.T) { 33 test.GetWorldMaybe(t).Stop() 34 }