summaryrefslogtreecommitdiff
path: root/tests/rm/ir-1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/ir-1')
-rwxr-xr-xtests/rm/ir-16
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/rm/ir-1 b/tests/rm/ir-1
index 89f4c4325..ea68745c9 100755
--- a/tests/rm/ir-1
+++ b/tests/rm/ir-1
@@ -16,8 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-test=ir-1
-
. "${srcdir=.}/init.sh"; path_prepend_ ../src
print_ver_ rm
@@ -27,7 +25,7 @@ mkdir -p $t $t/a $t/b $t/c || framework_failure_
> $t/b/bb || framework_failure_
> $t/c/cc || framework_failure_
-cat <<EOF > $test.I
+cat <<EOF > in
y
y
y
@@ -44,7 +42,7 @@ EOF
# Remove all but one of a, b, c -- I doubt that this test can portably
# determine which one was removed based on order of dir entries.
# This is a good argument for switching to a dejagnu-style test suite.
-rm --verbose -i -r $t < $test.I > /dev/null 2>&1 || fail=1
+rm --verbose -i -r $t < in > /dev/null 2>&1 || fail=1
# $t should not have been removed.
test -d $t || fail=1