testbug #1

  • //
  • guest/
  • matt_armstrong/
  • jam/
  • bug/
  • 3/
  • testbug
  • View
  • Commits
  • Open Download .zip Download (446 B)
#!/usr/bin/env zsh
jam clean
if [ -f src1.o -o -f src2.o ]; then
    echo "FAILED: jam didn't actually clean"
    exit 1
fi
jam
if [ ! -f src1.o -o ! -f src2.o ]; then
    echo "FAILED: jam didn't build everything"
    exit 1
fi
sleep 1
touch hdr1.h
sleep 1
jam
if [ src1.o -ot hdr1.h ]; then
    echo "FAILED: src1.o is older than hdr1.h"
    exit 1
fi
if [ src2.o -ot hdr1.h ]; then
    echo "FAILED: src2.o is older than hdr1.h"
    exit 1
fi
# Change User Description Committed
#1 4011 Matt Armstrong Script to test against the bug (requires zsh)