Home | History | Annotate | Download | only in tests

Lines Matching refs:testing

3 [ -f testing.sh ] && . testing.sh
8 #testing "name" "command" "result" "infile" "stdin"
10 testing "not enough arguments [fail]" "cp one 2>/dev/null || echo yes" \
12 testing "-missing source [fail]" "cp missing two 2>/dev/null || echo yes" \
14 testing "file->file" "cp random two && cmp random two && echo yes" \
19 testing "file->dir" "cp random two && cmp random two/random && echo yes" \
22 testing "file->dir/file" \
25 testing "-r dir->missing" \
29 testing "-r dir->file [fail]" \
32 testing "-r dir hits file." \
38 testing "file->inaccessable [fail]" \
44 testing "-f file->inaccessable" \
48 testing "file->inaccessable_dir [fail]" \
59 #testing "-rf dir file [fail]" "cp -rf dir file 2>/dev/null || echo yes" \
64 testing "file1 file2 missing [fail]" \
67 testing "dir file missing [fail]" \
69 testing "-rf dir file missing [fail]" \
71 testing "file1 file2 file [fail]" \
73 testing "file1 file2 dir" \
82 testing "-r /abspath dest" \
85 testing "-r dir again" "cp -r one/. dir && diff -r one dir && echo yes" \
88 testing "-r dir1/* dir2" \