Home
last modified time | relevance | path

Searched refs:framework_failure_ (Results 1 – 25 of 409) sorted by relevance

12345678910>>...17

/coreutils/tests/rm/
Dinteractive-once.sh22 mkdir -p dir1-1 dir2-1 dir2-2 || framework_failure_
24 || framework_failure_
25 echo y > in-y || framework_failure_
26 echo n > in-n || framework_failure_
27 rm -f out err || framework_failure_
33 echo 'one file, no recursion' > err || framework_failure_
35 echo . >> err || framework_failure_
39 echo 'one file, read only, answer no' >> err || framework_failure_
41 touch file1-1 || framework_failure_
42 chmod a-w file1-1 || framework_failure_
[all …]
Dinteractive-always.sh23 || framework_failure_
26 y' > in || framework_failure_
27 rm -f out err || framework_failure_
33 echo 'no WHEN' > err || framework_failure_
35 echo . >> err || framework_failure_
39 echo 'WHEN=never' >> err || framework_failure_
41 echo . >> err || framework_failure_
45 echo 'WHEN=once' >> err || framework_failure_
47 echo . >> err || framework_failure_
51 echo 'WHEN=always' >> err || framework_failure_
[all …]
Dr-root.sh59 break_line=$(grep -n ^excise "$break_src") || framework_failure_
60 break_line=$(echo "$break_line" | cut -d: -f1) || framework_failure_
64 cat > k.c <<'EOF' || framework_failure_
85 || framework_failure_ 'failed to build shared library'
90 cat > bp.py <<'EOF.py' || framework_failure_
135 rm -f x excise.break || framework_failure_
136 test -f x && framework_failure_
137 test -f excise.break && framework_failure_
168 mkdir dir || framework_failure_
169 rm -r dir || framework_failure_
[all …]
/coreutils/tests/readlink/
Dreadlink-fp-loop.sh28 ln -s s p || framework_failure_
29 ln -s d s || framework_failure_
30 mkdir d || framework_failure_
31 echo 2 > d/2 || framework_failure_
32 ln -s ../s/2 d/1 || framework_failure_
37 echo "$cwd/d/2" > exp || framework_failure_
41 ln -sf ../s/1 d/2 || framework_failure_
51 ln -nsf ../s/3 d/2 || framework_failure_
52 ln -nsf ../p/4 d/3 || framework_failure_
53 ln -nsf ../p/5 d/4 || framework_failure_
[all …]
Dreadlink-root.sh22 stat_single=$(stat -c %d:%i /) || framework_failure_
23 stat_double=$(stat -c %d:%i //) || framework_failure_
29 test -d /dev || framework_failure_
31 ln -s / one || framework_failure_
32 ln -s // two || framework_failure_
33 ln -s /// three || framework_failure_
34 ln -s /./..// one-dots || framework_failure_
35 ln -s //./..// two-dots || framework_failure_
36 ln -s ///./..// three-dots || framework_failure_
37 ln -s /dev one-dev || framework_failure_
[all …]
/coreutils/tests/env/
Denv-S-script.sh29 cat <<EOF > shebang || framework_failure_
32 cat <<\EOF >> shebang || framework_failure_
42 chmod a+x shebang || framework_failure_
45 printf "#!$dir/env sh\necho hello\n" > env_test || framework_failure_
46 chmod a+x env_test || framework_failure_
57 printf "#!$dir/env -S $dir/printf "'x%%sx\\n A B\n' > env1 || framework_failure_
58 chmod a+x env1 || framework_failure_
59 cat<<\EOF>exp1 || framework_failure_
76 framework_failure_
77 chmod a+x env2 || framework_failure_
[all …]
Denv.sh25 || framework_failure_
26 chmod a+x simple_echo || framework_failure_
42 echo a=b > exp || framework_failure_
68 >out || framework_failure_
70 grep '^ENV_TEST' all | LC_ALL=C sort >> out || framework_failure_
72 grep '^ENV_TEST' all | LC_ALL=C sort >> out || framework_failure_
74 grep '^ENV_TEST' all | LC_ALL=C sort >> out || framework_failure_
76 grep '^ENV_TEST' all | LC_ALL=C sort >> out || framework_failure_
78 grep '^ENV_TEST' all | LC_ALL=C sort >> out || framework_failure_
80 grep '^ENV_TEST' all | LC_ALL=C sort >> out || framework_failure_
[all …]
/coreutils/tests/ln/
Dmisc.sh29 touch $f || framework_failure_
30 rm -f $t || framework_failure_
36 touch $f || framework_failure_
37 rm -rf $d || framework_failure_
38 mkdir $d || framework_failure_
44 touch $f || framework_failure_
45 rm -rf $d || framework_failure_
46 mkdir $d || framework_failure_
52 touch $f || framework_failure_
53 rm -rf $d || framework_failure_
[all …]
/coreutils/tests/shuf/
Dshuf.sh23 seq 100 > in || framework_failure_
65 printf '1\0' > exp || framework_failure_
74 touch unreadable || framework_failure_
75 chmod 0 unreadable || framework_failure_
82 shuf -n10 -i0-9 -n3 -n20 > exp || framework_failure_
83 c=$(wc -l < exp) || framework_failure_
113 shuf --rep -i 0-10 | head -n 1000 > exp || framework_failure_
114 c=$(wc -l < exp) || framework_failure_
119 shuf --rep -i0-9 -n1000 > exp || framework_failure_
120 c=$(wc -l < exp) || framework_failure_
[all …]
/coreutils/tests/cp/
Dpreserve-mode.sh24 umask 0022 || framework_failure_
27 touch a b || framework_failure_
28 chmod 600 b || framework_failure_
33 chmod 600 c || framework_failure_
38 mkdir d1 d2 || framework_failure_
39 chmod 705 d2 || framework_failure_
44 rm -f a b || framework_failure_
45 touch a || framework_failure_
46 chmod 600 a || framework_failure_
59 rm -f a b c || framework_failure_
[all …]
Dlink-deref.sh27 ln -s testtarget test_sl || framework_failure_
28 ln -P test_sl test_hl_sl || framework_failure_
29 ino_sl="$(stat -c '%i' test_sl)" || framework_failure_
30 ino_hl="$(stat -c '%i' test_hl_sl)" || framework_failure_
34 mkdir dir || framework_failure_
35 > file || framework_failure_
36 ln -s dir dirlink || framework_failure_
37 ln -s file filelink || framework_failure_
38 ln -s nowhere danglink || framework_failure_
45 tgt=$(readlink $src) || framework_failure_
[all …]
Dpreserve-link.sh32 mkdir s || framework_failure_
35 touch s/f || framework_failure_
36 ln s/f s/linkm || framework_failure_
39 ln s/f s/linke || framework_failure_
42 ln s/f s/fileo || framework_failure_
45 ln s/f s/fileu || framework_failure_
53 mkdir -p t/s/ || framework_failure_
56 touch t/s/$f || framework_failure_
59 ln t/s/$f t/s/linke || framework_failure_
62 touch -d '-1 hour' t/s/fileo || framework_failure_
[all …]
/coreutils/tests/ls/
Dstat-dtype.sh30 mkdir -p c/d || framework_failure_
31 chmod a-x c || framework_failure_
36 mkdir d || framework_failure_
37 ln -s / d/s || framework_failure_
38 chmod 600 d || framework_failure_
40 mkdir -p e/a2345 e/b || framework_failure_
41 chmod 600 e || framework_failure_
45 cat <<\EOF > exp || framework_failure_
56 printf 'a2345/\tb/\n' > exp || framework_failure_
Dhyperlink.sh42 mkdir testdir || framework_failure_
45 ls_encoded "testdir" > ../exp.t || framework_failure_
47 touch "$f" || framework_failure_
48 ls_encoded "$f" >> ../exp.t || framework_failure_
51 ln -s testdir testdirl || framework_failure_
53 || framework_failure_
55 strip_host_and_path <out.t >out || framework_failure_
58 ln -s '/probably_missing' testlink || framework_failure_
60 strip_host_and_path <out.t >out || framework_failure_
Dsort-width-option.sh22 mkdir subdir || framework_failure_
23 touch subdir/aaaaa || framework_failure_
24 touch subdir/bbb || framework_failure_
25 touch subdir/cccc || framework_failure_
26 touch subdir/d || framework_failure_
27 touch subdir/zz || framework_failure_
31 cat <<\EOF > exp || framework_failure_
/coreutils/tests/cat/
Dcat-E.sh23 printf 'a\rb\r\nc\n\r\nd\r' > 'in' || framework_failure_
24 printf 'a\rb^M$\nc$\n^M$\nd\r' > 'exp' || framework_failure_
29 printf '1\r' > in2 || framework_failure_
30 printf '\n2\r\n' > in2b || framework_failure_
31 printf '1^M$\n2^M$\n' > 'exp' || framework_failure_
36 printf '1\r' > in2 || framework_failure_
37 printf '2\r\n' > in2b || framework_failure_
38 printf '1\r2^M$\n' > 'exp' || framework_failure_
/coreutils/tests/cksum/
Dcksum.sh29 } > in || framework_failure_
32 printf '%s\n' '4097727897 2077 in' > exp || framework_failure_
38 } > in || framework_failure_
41 printf '%s\n' '3800919234 131 in' > exp || framework_failure_
48 } > in || framework_failure_
51 printf '%s\n' '796287823 65 in' > exp || framework_failure_
58 } > in || framework_failure_
61 printf '%s\n' '3720986905 65574 in' > exp || framework_failure_
68 } > in || framework_failure_
71 printf '%s\n' '4278270357 65664 in' > exp || framework_failure_
/coreutils/tests/mv/
Dacl.sh32 touch file || framework_failure_
34 touch $t1 || framework_failure_
48 acl2=$(cd "$other_partition_tmpdir" && getfacl file) || framework_failure_
52 mkdir dir || framework_failure_
53 setfacl -m user:bin:rw- dir || framework_failure_
54 acl1=$(getfacl dir) || framework_failure_
56 acl2=$(cd "$other_partition_tmpdir" && getfacl dir) || framework_failure_
60 mkdir dir2 || framework_failure_
61 setfacl -d -m user:bin:rw- dir2 || framework_failure_
62 acl1=$(getfacl dir2) || framework_failure_
[all …]
Di-link-no.sh22 mkdir a b || framework_failure_
23 echo foo > a/foo || framework_failure_
24 ln a/foo a/bar || framework_failure_
25 echo FUBAR > b/FUBAR || framework_failure_
26 ln b/FUBAR b/bar || framework_failure_
27 chmod a-w b/bar || framework_failure_
28 echo n > no || framework_failure_
/coreutils/tests/du/
Dinodes.sh23 mkdir d || framework_failure_
24 printf '1\td\n' > exp || framework_failure_
31 touch d/f || framework_failure_
32 printf '2\td\n' > exp || framework_failure_
39 ln -v d/f d/h || framework_failure_
45 printf '3\td\n' > exp || framework_failure_
51 mkdir d/d || framework_failure_
57 printf '1\td/d\n2\td\n' > exp || framework_failure_
63 printf '1\td/d\n3\td\n' > exp || framework_failure_
73 printf '1\td/d\n1\td/f\n3\td\n' | sort > exp || framework_failure_
[all …]
Done-file-system.sh24 mkdir -p b/c y/z d "$other_partition_tmpdir/x" || framework_failure_
25 ln -s "$other_partition_tmpdir/x" d || framework_failure_
31 sed 's/^[0-9][0-9]* //' t > out || framework_failure_
32 cat <<\EOF > exp || framework_failure_
44 sed 's/^[0-9][0-9]* //' u > out1 || framework_failure_
45 echo d > exp1 || framework_failure_
52 sed 's/^[0-9][0-9]* //' u > out2 || framework_failure_
53 echo f > exp2 || framework_failure_
/coreutils/tests/wc/
Dwc-files0.sh22 echo 2 > 2b || framework_failure_
23 echo 2 words > 2w || framework_failure_
24 printf '2b\n2w\n' |tr '\n' '\0' > names || framework_failure_
28 cat <<\EOF > exp || framework_failure_
46 touch "$nlname" || framework_failure_
48 printf '%s\n' "0 0 0 '1'\$'\\n''2'" > exp || framework_failure_
52 truncate -s1G wc.big || framework_failure_
53 touch wc.small || framework_failure_
55 cat <<\EOF > exp || framework_failure_
/coreutils/tests/chown/
Dseparator.sh22 id_u=$(id -u) || framework_failure_
23 test -n "$id_u" || framework_failure_
25 id_un=$(id -un) || framework_failure_
26 test -n "$id_un" || framework_failure_
28 id_g=$(id -g) || framework_failure_
29 test -n "$id_g" || framework_failure_
31 id_gn=$(id -gn) || framework_failure_
32 test -n "$id_gn" || framework_failure_
/coreutils/tests/rmdir/
Dsymlink-errors.sh22 mkdir dir || framework_failure_
23 ln -s dir sl || framework_failure_
24 ln -s missing dl || framework_failure_
25 touch file || framework_failure_
26 ln -s file fl || framework_failure_
38 mkdir dir/dir2 || framework_failure_
57 printf "$new_error" 'sl/' > exp || framework_failure_
62 printf "$new_error" 'dl/' > exp || framework_failure_
/coreutils/tests/tail/
Dsymlink.sh48 >out || framework_failure_
49 ln -nsf target symlink || framework_failure_
53 echo "X" > target || framework_failure_
62 rm -f target out || framework_failure_
67 >out || framework_failure_
68 echo "X1" > target1 || framework_failure_
69 ln -nsf target1 symlink || framework_failure_
73 ln -nsf target2 symlink || framework_failure_
76 echo "X2" > target2 || framework_failure_
86 rm -f target1 target2 out || framework_failure_

12345678910>>...17