]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
rename tests: stop clobbering error output.
authorPhilip Hazelden <philip.hazelden@gmail.com>
Sun, 3 Jul 2022 22:22:58 +0000 (23:22 +0100)
committerPhilip Hazelden <philip.hazelden@gmail.com>
Sun, 3 Jul 2022 22:27:17 +0000 (23:27 +0100)
Fortunately there doesn't seem to have been any to clobber.

tests/ts/rename/basic

index 83ed5a05d797bc11beec25a411a5ebdc6f25fad1..60855794b0d55b09aad3ea1fbe8e0aca5c34cc88 100755 (executable)
@@ -40,7 +40,7 @@ done
 
 
 touch rename_all\ file\ with\ spaces.{1..3}
-$TS_CMD_RENAME -v -a ' ' '_' rename_all*.? >> $TS_OUTPUT 2> $TS_ERRLOG
+$TS_CMD_RENAME -v -a ' ' '_' rename_all*.? >> $TS_OUTPUT 2>> $TS_ERRLOG
 
 for i in rename_all*\ *.?; do
        echo "what is $i doing here?" >> $TS_OUTPUT
@@ -54,7 +54,7 @@ for i in rename_all_file_with_spaces.{1..3}; do
 done
 
 touch rename_zz_last_{z,z{,z{,z}}}.{x..z}
-$TS_CMD_RENAME -v -l zz AAzzBB rename_zz_last_* >> $TS_OUTPUT 2> $TS_ERRLOG
+$TS_CMD_RENAME -v -l zz AAzzBB rename_zz_last_* >> $TS_OUTPUT 2>> $TS_ERRLOG
 for i in rename_AAzzBB_last_z.x rename_AAzzBB_last_z.y rename_AAzzBB_last_z.z \
        rename_zz_last_AAzzBB.x rename_zz_last_AAzzBB.y rename_zz_last_AAzzBB.z \
        rename_zz_last_zAAzzBB.x rename_zz_last_zAAzzBB.y rename_zz_last_zAAzzBB.z ; do