diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-03-17 18:50:50 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-03-17 18:50:50 +0000 |
commit | 5547d48813a68f780105ac14550314a0dbbd6805 (patch) | |
tree | f4ea418c6d866bc6729ba15383cddcf68f9c3ee6 | |
parent | 4c6cbecc4b61f43e077adcc2be381817547adda1 (diff) | |
download | obnam-5547d48813a68f780105ac14550314a0dbbd6805.tar.gz |
Remove test that seems pointless
-rwxr-xr-x | tests/forget-removes-unwanted-leaving-empty-generation.script | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/forget-removes-unwanted-leaving-empty-generation.script b/tests/forget-removes-unwanted-leaving-empty-generation.script deleted file mode 100755 index 28b13547..00000000 --- a/tests/forget-removes-unwanted-leaving-empty-generation.script +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# Copyright 2011 Lars Wirzenius -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -set -e - -dd if=/dev/zero of="$DATADIR/data/aaa" bs=1M count=1 2> /dev/null - -$SRCDIR/tests/backup --deduplicate=never -$SRCDIR/tests/backup --deduplicate=never -$SRCDIR/tests/obnam genids > "$DATADIR/genids-1" - -# Add an empty generation. -find "$DATADIR/data" -mindepth 1 -delete -$SRCDIR/tests/backup --deduplicate=never - -$SRCDIR/tests/obnam forget $(cat "$DATADIR/genids-1") - -# Remove encryption metadata, if any. -rm -f "$DATADIR/repo/chunks/key" -rm -f "$DATADIR/repo/chunks/userkeys" - -find "$DATADIR/repo/chunks" -type f -ls - |