sed.tests: make last test less confusing
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 1 Aug 2010 02:19:59 +0000 (04:19 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 1 Aug 2010 02:19:59 +0000 (04:19 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
testsuite/sed.tests

index 445eff6bc6041c2278e05605e2379a64d41e7934..880fc211876d5b395b45d98f9a386a0e1f012732 100755 (executable)
@@ -277,7 +277,7 @@ testing "sed with N skipping lines past ranges on next cmds" \
 
 testing "sed -i with address modifies all files, not only first" \
        "cp input input2; sed -i -e '1s/foo/bar/' input input2 && cat input input2; rm input2" \
-       "bar\nbar\n" "foo\n" "foo\n"
+       "bar\nbar\n" "foo\n" ""
 
 
 # testing "description" "arguments" "result" "infile" "stdin"