~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to tests/cp/fail-perm.sh

  • Committer: Package Import Robot
  • Author(s): Michael Stone
  • Date: 2013-07-20 15:45:55 UTC
  • mto: (8.3.5 sid)
  • mto: This revision was merged to the branch mainline in revision 52.
  • Revision ID: package-import@ubuntu.com-20130720154555-8pm8a2y6vyz9rdvh
Tags: upstream-8.21
ImportĀ upstreamĀ versionĀ 8.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
3
 
# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 
3
# Copyright (C) 2000-2013 Free Software Foundation, Inc.
4
4
 
5
5
# This program is free software: you can redistribute it and/or modify
6
6
# it under the terms of the GNU General Public License as published by
38
38
ln -s D/D symlink
39
39
touch F
40
40
cat > exp <<\EOF
41
 
cp: accessing 'symlink': Permission denied
 
41
cp: failed to access 'symlink': Permission denied
42
42
EOF
43
43
 
44
44
cp F symlink 2> out && fail=1