diff options
Diffstat (limited to 'scripts/test')
-rwxr-xr-x | scripts/test/basename.test | 2 | ||||
-rwxr-xr-x | scripts/test/cat.test | 2 | ||||
-rwxr-xr-x | scripts/test/cp.test | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | scripts/test/dirname.test | 2 | ||||
-rwxr-xr-x | scripts/test/xargs.test | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/scripts/test/basename.test b/scripts/test/basename.test index bd48f4af..2f7a2ec3 100755 --- a/scripts/test/basename.test +++ b/scripts/test/basename.test @@ -7,7 +7,7 @@ # Removal of extra /'s testing "basename /-only" "basename ///////" "/\n" "" "" testing "basename trailing /" "basename a//////" "a\n" "" "" -testing "basename combined" "basename /////a///b///c///d/////" "d\n" "" "" +testing "basename combined" "basename /////a///b///c///d/////" "d\n" "" "" # Standard suffix behavior. testing "basename suffix" "basename a/b/c/d.suffix .suffix" "d\n" "" "" diff --git a/scripts/test/cat.test b/scripts/test/cat.test index 583c4e82..7b4066ac 100755 --- a/scripts/test/cat.test +++ b/scripts/test/cat.test @@ -6,7 +6,7 @@ testing "cat" "cat && echo yes" "oneyes\n" "" "one" testing "cat file1" \ - "cat /bin/cat > file1 && diff -u /bin/cat file1 && echo yes" \ + "cat /proc/self/exe > file1 && diff -u /proc/self/exe file1 && echo yes" \ "yes\n" "" "" #testing "cat file1 file2" "cat /bin/cat file1 > file2 && diff -u - diff --git a/scripts/test/cp.test b/scripts/test/cp.test index 8abcc284..eea0471d 100755 --- a/scripts/test/cp.test +++ b/scripts/test/cp.test @@ -24,7 +24,7 @@ testing "cp file->dir/file" \ "yes\n" "" "" testing "cp -r dir->missing" \ "cp -r two three && cmp random three/random && echo yes" \ - "yes\n" "" "" + "yes\n" "" "" touch walrus testing "cp -r dir->file [fail]" \ "cp -r two walrus 2>/dev/null || echo yes" "yes\n" "" "" diff --git a/scripts/test/dirname.test b/scripts/test/dirname.test index 9afa4508..a0075384 100644..100755 --- a/scripts/test/dirname.test +++ b/scripts/test/dirname.test @@ -6,5 +6,5 @@ testing "dirname /-only" "dirname ///////" "/\n" "" "" testing "dirname trailing /" "dirname a//////" ".\n" "" "" -testing "dirname combined" "dirname /////a///b///c///d/////" "/////a///b///c\n" "" "" +testing "dirname combined" "dirname /////a///b///c///d/////" "/////a///b///c\n" "" "" testing "dirname /a/" "dirname /////a///" "/\n" "" "" diff --git a/scripts/test/xargs.test b/scripts/test/xargs.test index 2d3946b3..e49445d6 100755 --- a/scripts/test/xargs.test +++ b/scripts/test/xargs.test @@ -26,7 +26,7 @@ rm one two three exit -testing "xargs -n exact match" +testing "xargs -n exact match" testing "xargs -s exact match" testing "xargs -s 0" testing "xargs -s impossible" |