X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2Fselnx01.at;h=fc96b36b805c00d5a6f9b17416f4461a2c96d407;hb=717a07e208ced8ab10c59e70eada67c1a2e8afa2;hp=13a208a9fcd569d4df8011be75cd54ad890dffa9;hpb=085cace1805308589c6211429068f68047be0b0e;p=chaz%2Ftar diff --git a/tests/selnx01.at b/tests/selnx01.at index 13a208a..fc96b36 100644 --- a/tests/selnx01.at +++ b/tests/selnx01.at @@ -1,18 +1,20 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # # Test suite for GNU tar. -# Copyright (C) 2012 Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or modify +# Copyright 2012-2013 Free Software Foundation, Inc. + +# This file is part of GNU tar. + +# GNU tar is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. + +# GNU tar is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# + # You should have received a copy of the GNU General Public License # along with this program. If not, see . # @@ -33,6 +35,7 @@ ln -s file dir/link getfattr -h -d -msecurity.selinux dir dir/file dir/link > start +restorecon -R dir chcon -h --user=system_u dir chcon -h --user=unconfined_u dir/file chcon -h --user=system_u dir/link