Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- : tests/mkdir/restorecon
- =ERROR============================
- ++ initial_cwd_=/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23
- ++ fail=0
- +++ testdir_prefix_
- +++ printf gt
- ++ pfx_=gt
- +++ mktempd_ /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23 gt-restorecon.sh.XXXX
- +++ case $# in
- +++ destdir_=/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23
- +++ template_=gt-restorecon.sh.XXXX
- +++ MAX_TRIES_=4
- +++ case $destdir_ in
- +++ case $template_ in
- ++++ unset TMPDIR
- +++ d=/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
- +++ case $d in
- +++ test -d /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
- ++++ ls -dgo /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
- ++++ tr S -
- +++ perms='drwx------. 2 2 Apr 16 11:33 /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38'
- +++ case $perms in
- +++ test 0 = 0
- +++ echo /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
- +++ return
- ++ test_dir_=/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
- ++ cd /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
- ++ gl_init_sh_nl_='
- '
- ++ IFS='
- '
- ++ for sig_ in 1 2 3 13 15
- +++ expr 1 + 128
- ++ eval 'trap '\''Exit 129'\'' 1'
- +++ trap 'Exit 129' 1
- ++ for sig_ in 1 2 3 13 15
- +++ expr 2 + 128
- ++ eval 'trap '\''Exit 130'\'' 2'
- +++ trap 'Exit 130' 2
- ++ for sig_ in 1 2 3 13 15
- +++ expr 3 + 128
- ++ eval 'trap '\''Exit 131'\'' 3'
- +++ trap 'Exit 131' 3
- ++ for sig_ in 1 2 3 13 15
- +++ expr 13 + 128
- ++ eval 'trap '\''Exit 141'\'' 13'
- +++ trap 'Exit 141' 13
- ++ for sig_ in 1 2 3 13 15
- +++ expr 15 + 128
- ++ eval 'trap '\''Exit 143'\'' 15'
- +++ trap 'Exit 143' 15
- ++ trap remove_tmp_ 0
- + path_prepend_ ./src
- + test 1 '!=' 0
- + path_dir_=./src
- + case $path_dir_ in
- + abs_path_dir_=/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/./src
- + case $abs_path_dir_ in
- + PATH=/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/./src:/tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/src:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/platform-tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/sbin:/usr/sbin
- + create_exe_shims_ /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/./src
- + case $EXEEXT in
- + return 0
- + shift
- + test 0 '!=' 0
- + export PATH
- + print_ver_ mkdir
- + test yes = yes
- + local i
- + for i in '$*'
- + env mkdir --version
- mkdir (GNU coreutils) 8.23
- Copyright (C) 2014 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
- Written by David MacKenzie.
- + require_selinux_
- + grep 'selinuxfs$' /proc/filesystems
- + case $(ls -Zd .) in
- ++ ls -Zd .
- + mkdir subdir
- + chcon root:object_r:tmp_t:s0 subdir
- chcon: invalid context: root:object_r:tmp_t:s0: Invalid argument
- + framework_failure_
- + warn_ 'restorecon.sh: set-up failure: '
- + case $IFS in
- + printf '%s\n' 'restorecon.sh: set-up failure: '
- restorecon.sh: set-up failure:
- + test 9 = 2
- + printf '%s\n' 'restorecon.sh: set-up failure: '
- + sed 1q
- + Exit 99
- + set +e
- + exit 99
- + exit 99
- + remove_tmp_
- + __st=99
- + cleanup_
- + :
- + cd /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23
- + chmod -R u+rwx /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
- + rm -rf /tmp/yaourt-tmp-emil/aur-coreutils-selinux/src/coreutils-8.23/gt-restorecon.sh.fI38
- + exit 99
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement